Home
last modified time | relevance | path

Searched refs:TokenType (Results 1 – 25 of 50) sorted by relevance

12

/external/webkit/Source/WebCore/storage/
DIDBKeyPath.cpp38 enum TokenType { enum in WebCore::IDBKeyPathLexer
56 TokenType currentTokenType() const { return m_currentTokenType; } in currentTokenType()
58 TokenType nextTokenType() in nextTokenType()
67 TokenType lex(IDBKeyPathElement&);
68 TokenType lexIdentifier(IDBKeyPathElement&);
69 TokenType lexNumber(IDBKeyPathElement&);
74 TokenType m_currentTokenType;
77 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(IDBKeyPathElement& element) in lex()
123 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(IDBKeyPathElement& element) in lexIdentifier()
139 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexNumber(IDBKeyPathElement& element) in lexNumber()
[all …]
/external/webkit/Source/JavaScriptCore/runtime/
DLiteralParser.h58 enum TokenType { TokLBracket, TokRBracket, TokLBrace, TokRBrace, enum
66 TokenType type;
80 TokenType next() in next()
91 TokenType lex(LiteralParserToken&);
92 template <ParserMode mode> TokenType lexString(LiteralParserToken&);
93 TokenType lexNumber(LiteralParserToken&);
DLiteralParser.cpp45 LiteralParser::TokenType LiteralParser::Lexer::lex(LiteralParserToken& token) in lex()
141 template <LiteralParser::ParserMode mode> inline LiteralParser::TokenType LiteralParser::Lexer::lex… in lexString()
216 LiteralParser::TokenType LiteralParser::Lexer::lexNumber(LiteralParserToken& token) in lexNumber()
307 TokenType lastToken = m_lexer.currentToken().type; in parse()
339 TokenType type = m_lexer.next(); in parse()
360 TokenType type = m_lexer.next(); in parse()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas91 function CreateToken(const TokenType: Integer; const Text: String): IToken; in CreateToken()
621 I, TokenType: Integer;
629 TokenType := Nodes.TreeAdaptor.GetNodeType(T);
630 if (TokenType <> TToken.DOWN) and (TokenType <> TToken.UP) then
633 Buf.Append(TokenType)
749 CheckEquals(Node.TokenType, I);
760 CheckEquals(Node.TokenType, N + I);
826 CheckEquals((Stream.LT(1) as ITree).TokenType,101);
827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN);
828 CheckEquals((Stream.LT(3) as ITree).TokenType,102);
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCTP.m396 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87];
398 [self match:input TokenType:DOWN Follow:nil];
407 [self match:input TokenType:UP Follow:nil];
415 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101];
417 [self match:input TokenType:DOWN Follow:nil];
434 [self match:input TokenType:UP Follow:nil];
470 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126];
472 [self match:input TokenType:DOWN Follow:nil];
489 [self match:input TokenType:UP Follow:nil];
523 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150];
[all …]
DSimpleCParser.m1139 …K_SEMICOLON4=(ANTLRCommonToken *)[self match:input TokenType:K_SEMICOLON Follow:FOLLOW_K_SEMICOLON…
1327 …K_SEMICOLON9=(ANTLRCommonToken *)[self match:input TokenType:K_SEMICOLON Follow:FOLLOW_K_SEMICOLON…
1429 … K_ID10=(ANTLRCommonToken *)[self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator199];
1528 …K_ID12=(ANTLRCommonToken *)[self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_functionHeader22…
1532 …K_LCURVE13=(ANTLRCommonToken *)[self match:input TokenType:K_LCURVE Follow:FOLLOW_K_LCURVE_in_func…
1568 …K_COMMA15=(ANTLRCommonToken *)[self match:input TokenType:K_COMMA Follow:FOLLOW_K_COMMA_in_functio…
1597 …K_RCURVE17=(ANTLRCommonToken *)[self match:input TokenType:K_RCURVE Follow:FOLLOW_K_RCURVE_in_func…
1921 … lc=(ANTLRCommonToken *)[self match:input TokenType:K_LCURLY Follow:FOLLOW_K_LCURLY_in_block376];
1995 …K_RCURLY23=(ANTLRCommonToken *)[self match:input TokenType:K_RCURLY Follow:FOLLOW_K_RCURLY_in_bloc…
2199 …K_SEMICOLON26=(ANTLRCommonToken *)[self match:input TokenType:K_SEMICOLON Follow:FOLLOW_K_SEMICOLO…
[all …]
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas217 … function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload;
225 function CreateNode(const TokenType: Integer; const FromToken: IToken;
234 function CreateNode(const TokenType: Integer; const Text: String): IANTLRInterface; overload;
507 property TokenType: Integer read GetTokenType; property
587 property TokenType: Integer read GetTokenType; property
653 function CreateToken(const TokenType: Integer; const Text: String): IToken; overload;
956 …function Find(const T: IANTLRInterface; const TokenType: Integer): IList<IANTLRInterface>; overloa…
961 … function FindFirst(const T: IANTLRInterface; const TokenType: Integer): IANTLRInterface; overload;
973 procedure Visit(const T: IANTLRInterface; const TokenType: Integer;
1282 …function CreateNode(const TokenType: Integer; const FromToken: IToken): IANTLRInterface; overload;… in CreateNode()
[all …]
DAntlr.Runtime.pas246 property TokenType: Integer read GetTokenType write SetTokenType; property
621 property TokenType: Integer read GetTokenType write SetTokenType; property
675 property TokenType: Integer read GetTokenType write SetTokenType; property
721 function Match(const Input: IIntStream; const TokenType: Integer;
725 const TokenType: Integer): Boolean;
817 procedure ConsumeUntil(const Input: IIntStream; const TokenType: Integer); overload;
979 TokenType: Integer): IList<IToken>; overload;
2023 procedure Mismatch(const Input: IIntStream; const TokenType: Integer;
2058 const TokenType: Integer; const Follow: IBitSet): IANTLRInterface; virtual;
2252 function Match(const Input: IIntStream; const TokenType: Integer; in Match()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCTP.m378 … [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; /* element() */
380 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil];
387 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */
394 … [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; /* element() */
396 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil];
408 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */
437 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126]; /* element() */
439 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil];
451 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */
478 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150]; /* element() */
[all …]
DSimpleCParser.m1002 …char_literal4=(ANTLRCommonToken *)[self match:input TokenType:21 Follow:FOLLOW_21_in_declaration11…
1172 …char_literal9=(ANTLRCommonToken *)[self match:input TokenType:21 Follow:FOLLOW_21_in_variable170];…
1265 … K_ID10=(ANTLRCommonToken *)[self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator199];
1352 …K_ID12=(ANTLRCommonToken *)[self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_functionHeader22…
1355 …char_literal13=(ANTLRCommonToken *)[self match:input TokenType:22 Follow:FOLLOW_22_in_functionHead…
1387 …char_literal15=(ANTLRCommonToken *)[self match:input TokenType:23 Follow:FOLLOW_23_in_functionHead…
1412 …char_literal17=(ANTLRCommonToken *)[self match:input TokenType:24 Follow:FOLLOW_24_in_functionHead…
1701 lc=(ANTLRCommonToken *)[self match:input TokenType:25 Follow:FOLLOW_25_in_block376];
1784 … char_literal23=(ANTLRCommonToken *)[self match:input TokenType:26 Follow:FOLLOW_26_in_block416];
1968 …char_literal26=(ANTLRCommonToken *)[self match:input TokenType:21 Follow:FOLLOW_21_in_stat459]; …
[all …]
/external/openfst/src/include/fst/
Dstring.h41 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 }; enum
43 StringCompiler(TokenType type, const SymbolTable *syms = 0,
126 TokenType token_type_; // Token type: symbol, byte or utf8 encoded
143 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 }; enum
145 StringPrinter(TokenType token_type,
238 TokenType token_type_; // Token type: symbol, byte or utf8 encoded
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBaseRecognizer.h113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow;
115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype;
139 TokenType:(NSInteger)ttype
149 TokenType:(NSInteger) expectedTokenType
153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
DANTLRCommonTree.h53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBaseRecognizer.h113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow;
115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype;
139 TokenType:(NSInteger)ttype
149 TokenType:(NSInteger) expectedTokenType
153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
DANTLRCommonTree.h53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBaseRecognizer.h113 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow;
115 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype;
139 TokenType:(NSInteger)ttype
149 TokenType:(NSInteger) expectedTokenType
153 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
DANTLRCommonTree.h53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenT…
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRBaseRecognizer.h105 - (id) match:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype Follow:(ANTLRBitSet *)follow;
107 - (BOOL) mismatchIsUnwantedToken:(id<ANTLRIntStream>)anInput TokenType:(NSInteger) ttype;
131 TokenType:(NSInteger)ttype
141 TokenType:(NSInteger) expectedTokenType
145 - (void) consumeUntilTType:(id<ANTLRIntStream>)anInput TokenType:(NSInteger)ttype;
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/
DSymbolTableParser.m346 [self match:input TokenType:12 Follow:FOLLOW_12_in_method116];
348 [self match:input TokenType:ID Follow:FOLLOW_ID_in_method118];
350 [self match:input TokenType:7 Follow:FOLLOW_7_in_method120];
352 [self match:input TokenType:8 Follow:FOLLOW_8_in_method122];
398 [self match:input TokenType:13 Follow:FOLLOW_13_in_block153];
460 [self match:input TokenType:14 Follow:FOLLOW_14_in_block165];
517 [self match:input TokenType:ID Follow:FOLLOW_ID_in_stat189];
519 [self match:input TokenType:10 Follow:FOLLOW_10_in_stat191];
521 [self match:input TokenType:INT Follow:FOLLOW_INT_in_stat193];
523 [self match:input TokenType:9 Follow:FOLLOW_9_in_stat195];
[all …]
/external/openfst/src/include/fst/extensions/far/
Dcompile-strings.h47 typedef typename StringCompiler<A>::TokenType TokenType; typedef
54 TokenType token_type,
116 TokenType token_type_;
152 typename StringCompiler<Arc>::TokenType token_type; in FarCompileStrings()
/external/protobuf/src/google/protobuf/io/
Dtokenizer.h89 enum TokenType { enum
116 TokenType type;
249 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/
DSymbolTableParser.m363 [self match:input TokenType:7 Follow:FOLLOW_7_in_method110]; /* element() */
364 [self match:input TokenType:ID Follow:FOLLOW_ID_in_method112]; /* element() */
365 [self match:input TokenType:8 Follow:FOLLOW_8_in_method114]; /* element() */
366 [self match:input TokenType:9 Follow:FOLLOW_9_in_method116]; /* element() */
406 [self match:input TokenType:10 Follow:FOLLOW_10_in_block147]; /* element() */
461 [self match:input TokenType:11 Follow:FOLLOW_11_in_block159]; /* element() */
510 [self match:input TokenType:ID Follow:FOLLOW_ID_in_stat183]; /* element() */
511 [self match:input TokenType:12 Follow:FOLLOW_12_in_stat185]; /* element() */
512 [self match:input TokenType:INT Follow:FOLLOW_INT_in_stat187]; /* element() */
513 [self match:input TokenType:13 Follow:FOLLOW_13_in_stat189]; /* element() */
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/
DSimpleCParser.m457 [self match:input TokenType:11 Follow:FOLLOW_11_in_declaration62];
538 [self match:input TokenType:11 Follow:FOLLOW_11_in_variable103];
572 [self match:input TokenType:ID Follow:FOLLOW_ID_in_declarator122];
622 … ID3=(ANTLRCommonToken *)[self match:input TokenType:ID Follow:FOLLOW_ID_in_functionHeader153];
624 [self match:input TokenType:7 Follow:FOLLOW_7_in_functionHeader155];
657 [self match:input TokenType:10 Follow:FOLLOW_10_in_functionHeader163];
683 [self match:input TokenType:8 Follow:FOLLOW_8_in_functionHeader173];
810 [self match:input TokenType:19 Follow:FOLLOW_19_in_block286];
880 [self match:input TokenType:20 Follow:FOLLOW_20_in_block326];
987 [self match:input TokenType:11 Follow:FOLLOW_11_in_stat348];
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangDumpDecl.m144 [self match:input TokenType:DECL Follow:FOLLOW_DECL_in_decl45];
146 [self match:input TokenType:DOWN Follow:nil];
163 [self match:input TokenType:UP Follow:nil];
200 [self match:input TokenType:INTTYPE Follow:FOLLOW_INTTYPE_in_type81];
237 [self match:input TokenType:ID Follow:FOLLOW_ID_in_declarator95];
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
DTParser.m244 [self match:input TokenType:ID Follow:FOLLOW_ID_in_identifier66];
296 [self match:input TokenType:7 Follow:FOLLOW_7_in_enumAsKeyword89];
333 [self match:input TokenType:7 Follow:FOLLOW_7_in_enumAsID100];

12