| /external/jsilver/src/com/google/clearsilver/jsilver/syntax/node/ |
| Token.java | 6 public abstract class Token extends Node
|
| /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
| Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */ 20 * Describes the input token stream. 23 public class Token { 26 * An integer that describes the kind of this token. This numbering 34 * of this token; endLine and endColumn describe the position of the 35 * last character of this token. 40 * The string image of the token. 45 * A reference to the next regular (non-special) token from the input 46 * stream. If this is the last token from the input stream, or if the 47 * token manager has not read tokens beyond this one, this field i [all...] |
| /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
| Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */ 20 * Describes the input token stream. 23 public class Token { 26 * An integer that describes the kind of this token. This numbering 34 * of this token; endLine and endColumn describe the position of the 35 * last character of this token. 40 * The string image of the token. 45 * A reference to the next regular (non-special) token from the input 46 * stream. If this is the last token from the input stream, or if the 47 * token manager has not read tokens beyond this one, this field i [all...] |
| /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
| Token.java | 1 /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */ 20 * Describes the input token stream. 23 public class Token { 26 * An integer that describes the kind of this token. This numbering 34 * of this token; endLine and endColumn describe the position of the 35 * last character of this token. 40 * The string image of the token. 45 * A reference to the next regular (non-special) token from the input 46 * stream. If this is the last token from the input stream, or if the 47 * token manager has not read tokens beyond this one, this field i [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
| RecognitionException.cs | 50 * exceptions are built with the expected token type. 67 * state can change before the exception is reported so current token index 69 * perhaps print an entire line of input not just a single token, for example. 79 /** <summary>What is index of token/char were we looking at when the error occurred?</summary> */ 83 * The current Token when an error occurred. Since not all streams 84 * can retrieve the ith Token, we have to track the Token object. 85 * For parsers. Even when it's a tree parser, token might be set. 116 * for most recent token with line/col info, but notify getErrorHeader() 177 /** <summary>Return the token type or char of the unexpected input element</summary> * [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
| CommonTree.cs | 38 * A tree node that is wrapper for a Token object. After 3.0 release 47 /** <summary>A single token is the payload</summary> */ 49 public IToken token; field in class:Antlr.Runtime.Tree.CommonTree 52 * What token indexes bracket all tokens associated with this node 73 this.token = node.token; 79 this.token = t; 85 if (token == null || token.CharPositionInLine == -1) { 91 return token.CharPositionInLine [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
| RecognitionException.cs | 51 * exceptions are built with the expected token type. 68 * state can change before the exception is reported so current token index 70 * perhaps print an entire line of input not just a single token, for example. 81 /** <summary>What is index of token/char were we looking at when the error occurred?</summary> */ 85 * The current Token when an error occurred. Since not all streams 86 * can retrieve the ith Token, we have to track the Token object. 87 * For parsers. Even when it's a tree parser, token might be set. 118 * for most recent token with line/col info, but notify getErrorHeader() 199 /** <summary>Return the token type or char of the unexpected input element</summary> * [all...] |
| /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
| CommonTree.cs | 38 * A tree node that is wrapper for a Token object. After 3.0 release 48 /** <summary>A single token is the payload</summary> */ 52 * What token indexes bracket all tokens associated with this node 75 this.Token = node.Token; 82 this.Token = t; 91 if ( Token == null || Token.CharPositionInLine == -1 ) 98 return Token.CharPositionInLine; 124 return Token == null [all...] |
| /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
| error_fixer.py | 32 Token = javascripttokens.JavaScriptToken 73 first_token: The first token in the file. 84 tokens: The token or sequence of tokens changed to fix an error. 90 for token in tokens: 91 self._file_changed_lines.add(token.line_number) 100 token = error.token 103 iterator = token.attached_object.type_start_token 111 # Cover the no outer brace case where the end token is part of the type. 112 while iterator and iterator != token.attached_object.type_end_token.next [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/xml/ |
| XPathParser.h | 46 struct Token { 53 Token(int t) : type(t) { } 54 Token(int t, const String& v): type(t), str(v) { } 55 Token(int t, Step::Axis v): type(t), axis(v) { } 56 Token(int t, NumericOp::Opcode v): type(t), numop(v) { } 57 Token(int t, EqTestOp::Opcode v): type(t), eqop(v) { } 98 Token makeTokenAndAdvance(int type, int advance = 1); 99 Token makeTokenAndAdvance(int type, NumericOp::Opcode, int advance = 1); 100 Token makeTokenAndAdvance(int type, EqTestOp::Opcode, int advance = 1); 104 Token lexString() [all...] |
| /external/chromium_org/third_party/WebKit/Source/platform/text/ |
| DateTimeFormatTest.cpp | 40 struct Token { 45 Token(FieldType fieldType, int count = 1) 52 Token(const String& string) 59 bool operator==(const Token& other) const 77 return String::format("Token(%d, %d)", fieldType, count); 86 explicit Tokens(const Vector<Token> tokens) 93 m_tokens.append(Token(string)); 96 explicit Tokens(Token token1) 101 Tokens(Token token1, Token token2 [all...] |
| /external/chromium_org/third_party/closure_linter/closure_linter/ |
| error_fixer.py | 32 Token = javascripttokens.JavaScriptToken 73 first_token: The first token in the file. 84 tokens: The token or sequence of tokens changed to fix an error. 90 for token in tokens: 91 self._file_changed_lines.add(token.line_number) 100 token = error.token 103 iterator = token.attached_object.type_start_token 111 # Cover the no outer brace case where the end token is part of the type. 112 while iterator and iterator != token.attached_object.type_end_token.next [all...] |
| /external/clang/utils/ |
| token-delta.py | 97 class Token: 127 tokens.append(Token(*kTokenRE.match(ln).groups()))
|
| /frameworks/compile/mclinker/include/mcld/LD/ |
| EhFrameReader.h | 59 struct Token { 72 const Token& pToken); 74 /// scan - scan pData from pHandler for a token. 75 template<bool SAME_ENDIAN> Token scan(ConstAddress pHandler, 81 const Token& pToken); 85 const Token& pToken); 89 const Token& pToken); 93 const Token& pToken); 99 template<> EhFrameReader::Token
|
| /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
| Token.java | 30 public interface Token { 42 public static final Token EOF_TOKEN = new CommonToken(EOF); 45 public static final Token INVALID_TOKEN = new CommonToken(INVALID_TOKEN_TYPE); 47 /** In an action, a lexer rule can set token to this SKIP_TOKEN and ANTLR 48 * will avoid creating a token for this symbol and try to fetch another. 50 public static final Token SKIP_TOKEN = new CommonToken(INVALID_TOKEN_TYPE); 63 /** Get the text of the token */ 69 /** The line number on which this token was matched; line=1..n */ 80 /** An index from 0..n-1 of the token object in the input stream. 86 /** From what character stream was this token created? You don't have t [all...] |
| /external/antlr/antlr-3.4/runtime/Python/antlr3/ |
| tokens.py | 37 # basic token interface 41 class Token(object): 42 """@brief Abstract token baseclass.""" 45 """@brief Get the text of the token. 52 """@brief Set the text of the token. 60 """@brief Get the type of the token. 67 """@brief Get the type of the token. 75 """@brief Get the line number on which this token was matched 84 """@brief Set the line number on which this token was matched 109 """@brief Get the channel of the token [all...] |
| /external/chromium_org/base/json/ |
| json_parser.h | 50 // NextChar. The conversion from byte to JSON token happens without advancing 56 // to the first byte of a valid JSON token. On exit, it is on the last byte 57 // of a token, such that the next iteration of the parser will be at the byte 58 // immediately following the token, which would likely be the first byte of the 59 // next token. 76 enum Token { 156 // Skips over whitespace and comments to find the next token in the stream. 158 Token GetNextToken(); 170 // Takes a token that represents the start of a Value ("a structural token" [all...] |
| /external/chromium_org/net/cookies/ |
| parsed_cookie.h | 24 // The maximum number of Token/Value pairs. Shouldn't have more than 8. 36 const std::string& Token() const { return Name(); } 79 // positions of a cookie attribute token name parsed from the segment, and 81 // If no token is found, the function returns false. 97 // desired token/value and nothing else. 98 static std::string ParseTokenString(const std::string& token); 108 // to the token matching |index|. If |value| contains invalid characters, the 131 // 0th index is the user supplied token/value, not an attribute.
|
| /external/chromium_org/sync/internal_api/public/util/ |
| immutable_unittest.cc | 21 // Helper class that keeps track of the token passed in at 22 // construction and how many times that token is copied. 25 explicit TokenCore(const char* token) : token_(token), copy_count_(0) {} 48 const char kEmptyToken[] = "<empty token>"; 50 // Base class for various token classes, differing in swap behavior. 56 explicit TokenBase(const char* token) : core_(new TokenCore(token)) {} 97 typedef TokenBase<USE_DEFAULT_SWAP> Token; 154 void RunTokenTest(const char* token, bool expect_copies) [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| JSONParser.cpp | 43 enum Token { 63 bool parseConstToken(const CharType* start, const CharType* end, const CharType** tokenEnd, const char* token) 65 while (start < end && *token != '\0' && *start++ == *token++) { } 66 if (*token != '\0') 194 Token parseToken(const CharType* start, const CharType* end, const CharType** tokenStart, const CharType** tokenEnd) 349 Token token = parseToken(start, end, &tokenStart, &tokenEnd); local 350 switch (token) { 381 token = parseToken(start, end, &tokenStart, &tokenEnd) [all...] |
| /external/jsoncpp/include/json/ |
| reader.h | 109 class Token 120 Token token_; 127 bool expectToken( TokenType type, Token &token, const char *message ); 128 bool readToken( Token &token ); 138 bool readObject( Token &token ); 139 bool readArray( Token &token ); [all...] |
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| HanziToPinyin.java | 40 public static class Token { 50 public Token() { 53 public Token(int type, String source, String target) { 60 * Type of this token, ASCII, PINYIN or UNKNOWN. 97 private void tokenize(char character, Token token) { 98 token.source = Character.toString(character); 102 token.type = Token.LATIN; 103 token.target = token.source 146 Token token = new Token(); local [all...] |
| /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
| token.rb | 37 =begin rdoc ANTLR3::Token 52 originated. Token streams will also provide an index value for the token, which 53 indicates the position of the token relative to other tokens in the stream, 54 starting at zero. For example, the 22nd token pulled from a lexer by 57 == Token as an Interface 59 This library provides a token implementation (see CommonToken). Additionally, 60 you may write your own token class as long as you provide methods that give 61 access to the attributes expected by a token. Even though most of the ANTLR 63 checking, it's a good idea to include this ANTLR3::Token into your customize [all...] |
| /external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
| Token.h | 18 struct Token 51 // Preprocessing token types. 65 Token() 72 bool equals(const Token &other) const; 74 // Returns true if this is the first token on line. 94 // Converts text into numeric value for CONST_INT and CONST_FLOAT token. 106 inline bool operator==(const Token &lhs, const Token &rhs) 111 inline bool operator!=(const Token &lhs, const Token &rhs [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
| tgsi_parse.h | 106 struct tgsi_token Token;
|