HomeSort by relevance Sort by last modified time
    Searched refs:TokenType (Results 1 - 25 of 54) sorted by null

1 2 3

  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/
ecmametadatapass.py 25 TokenType = javascripttokens.JavaScriptTokenType
279 if token_type == TokenType.START_PAREN:
287 elif token_type == TokenType.END_PAREN:
295 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
296 if next_code.type != TokenType.START_BLOCK:
301 pre_keyword_token.type == TokenType.END_BLOCK):
315 elif (token_type == TokenType.KEYWORD and
317 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
318 if (next_code.type != TokenType.START_BLOCK and
319 (next_code.type != TokenType.KEYWORD or next_code.string != 'if'))
    [all...]
closurizednamespacesinfo.py 31 TokenType = javascripttokens.JavaScriptTokenType
138 namespace = tokenutil.Search(token, TokenType.STRING_TEXT).string
167 namespace = tokenutil.Search(token, TokenType.STRING_TEXT).string
296 if token.type == TokenType.IDENTIFIER:
309 namespace = tokenutil.Search(token, TokenType.STRING_TEXT).string
324 namespace = tokenutil.Search(token, TokenType.STRING_TEXT).string
348 elif token.type == TokenType.SIMPLE_LVALUE:
356 elif token.type == TokenType.DOC_FLAG:
361 doc_start = tokenutil.Search(token, TokenType.DOC_START_BRACE)
362 interface = tokenutil.Search(doc_start, TokenType.COMMENT
    [all...]
javascripttokens.py 24 class JavaScriptTokenType(tokens.TokenType):
77 tokens.TokenType.WHITESPACE, tokens.TokenType.BLANK_LINE])
87 EXPRESSION_ENDER_TYPES = [tokens.TokenType.NORMAL, IDENTIFIER, NUMBER,
  /external/webkit/Source/JavaScriptCore/runtime/
LiteralParser.h 58 enum TokenType { TokLBracket, TokRBracket, TokLBrace, TokRBrace,
66 TokenType type;
80 TokenType next()
91 TokenType lex(LiteralParserToken&);
92 template <ParserMode mode> TokenType lexString(LiteralParserToken&);
93 TokenType lexNumber(LiteralParserToken&);
LiteralParser.cpp 45 LiteralParser::TokenType LiteralParser::Lexer::lex(LiteralParserToken& token)
141 template <LiteralParser::ParserMode mode> inline LiteralParser::TokenType LiteralParser::Lexer::lexString(LiteralParserToken& token)
216 LiteralParser::TokenType LiteralParser::Lexer::lexNumber(LiteralParserToken& token)
307 TokenType lastToken = m_lexer.currentToken().type;
339 TokenType type = m_lexer.next();
360 TokenType type = m_lexer.next();
  /external/webkit/Source/WebCore/storage/
IDBKeyPath.cpp 38 enum TokenType {
56 TokenType currentTokenType() const { return m_currentTokenType; }
58 TokenType nextTokenType()
67 TokenType lex(IDBKeyPathElement&);
68 TokenType lexIdentifier(IDBKeyPathElement&);
69 TokenType lexNumber(IDBKeyPathElement&);
74 TokenType m_currentTokenType;
77 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(IDBKeyPathElement& element)
123 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(IDBKeyPathElement& element)
139 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexNumber(IDBKeyPathElement& element
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
SimpleCTP.m 396 [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...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
SimpleCTP.m 378 [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...]
  /external/protobuf/src/google/protobuf/io/
tokenizer.h 77 // similar to those that make up the C language; see the TokenType enum for
89 enum TokenType {
116 TokenType type;
249 TokenType ConsumeNumber(bool started_with_zero, bool started_with_dot);
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRBaseRecognizer.h 113 - (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;
ANTLRCommonTree.h 49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRBaseRecognizer.h 113 - (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;
ANTLRCommonTree.h 49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRBaseRecognizer.h 113 - (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;
ANTLRCommonTree.h 49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 + (id<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *)tokenText;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRBaseRecognizer.h 105 - (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/treeparser/
LangDumpDecl.m 144 [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/LL-star/
SimpleCParser.m 457 [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];
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/
SymbolTableParser.m 346 [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/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/output1/
SymbolTableParser.m 363 [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/openfst/src/include/fst/
string.h 42 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 };
44 StringCompiler(TokenType type, const SymbolTable *syms = 0,
149 TokenType token_type_; // Token type: symbol, byte or utf8 encoded
166 enum TokenType { SYMBOL = 1, BYTE = 2, UTF8 = 3 };
168 StringPrinter(TokenType token_type,
262 TokenType token_type_; // Token type: symbol, byte or utf8 encoded
  /external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
Antlr.Runtime.Tree.Tests.pas 91 function CreateToken(const TokenType: Integer; const Text: String): IToken;
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)
    [all...]
  /external/openfst/src/include/fst/extensions/far/
compile-strings.h 47 typedef typename StringCompiler<A>::TokenType TokenType;
54 TokenType token_type,
127 TokenType token_type_;
166 typename StringCompiler<Arc>::TokenType token_type;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
TParser.m 244 [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];
  /external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/
tokens.py 23 class TokenType(object):

Completed in 392 milliseconds

1 2 3