/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/ |
AstUtil.java | 7 static boolean hasParentOfType(AstNode node, int tokenType) { 12 return parent.getType() == tokenType;
|
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBKeyPath.cpp | 40 enum TokenType { 55 TokenType currentTokenType() const { return m_currentTokenType; } 57 TokenType nextTokenType() 66 TokenType lex(String&); 67 TokenType lexIdentifier(String&); 72 TokenType m_currentTokenType; 75 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(String& element) 110 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(String& element) 144 IDBKeyPathLexer::TokenType tokenType = lexer.nextTokenType() [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
CodeMirrorUtils.js | 54 * @param {string} tokenType 56 convertTokenType: function(tokenType) 58 if (tokenType.startsWith("js-variable") || tokenType.startsWith("js-property") || tokenType === "js-def") 60 if (tokenType === "js-string-2") 62 if (tokenType === "js-number" || tokenType === "js-comment" || tokenType === "js-string" || tokenType === "js-keyword" [all...] |
DOMSyntaxHighlighter.js | 59 * @param {string} tokenType 64 function processToken(token, tokenType, column, newColumn) 66 if (!tokenType) 73 node.appendChild(this.createSpan(token, tokenType));
|
ScriptFormatterWorker.js | 110 * @param {string} tokenType 114 function processToken(tokenValue, tokenType, column, newColumn) 116 tokenType = tokenType ? WebInspector.CodeMirrorUtils.convertTokenType(tokenType) : null; 117 if (tokenType === "javascript-ident") { 125 } else if (tokenType === "javascript-keyword") { 153 previousTokenType = tokenType; 240 function processToken(tokenValue, tokenType, tokenStart, tokenEnd) { 241 if (tokenType !== "xml-tag" [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRDebugTreeAdaptor.m | 148 - (id<ANTLRBaseTree>) newANTLRTreeWithTokenType:(NSInteger)tokenType 150 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithTokenType:tokenType]; 151 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:nil type:tokenType]; 155 - (id<ANTLRBaseTree>) newANTLRTreeWithTokenType:(NSInteger)tokenType text:(NSString *)tokenText 157 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithTokenType:tokenType text:tokenText]; 158 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:tokenType]; 161 - (id<ANTLRBaseTree>) newANTLRTreeWithToken:(id<ANTLRToken>)fromToken tokenType:(NSInteger)tokenType 163 id<ANTLRBaseTree> newTree = [treeAdaptor newANTLRTreeWithToken:fromToken tokenType:tokenType]; [all...] |
ANTLRTreeParser.m | 77 - (void) mismatch:(id<ANTLRIntStream>)aStream tokenType:(ANTLRTokenType)aTType follow:(ANTLRBitSet *)aBitset 131 int tokenType = [((id<ANTLRTreeAdaptor>)[input getTreeAdaptor]) getType:look]; 132 while ( tokenType != ANTLRTokenTypeEOF && !( tokenType == ANTLRTokenTypeUP && level == 0) ) { 135 tokenType = [((id<ANTLRTreeAdaptor>)[input getTreeAdaptor]) getType:look]; 136 if ( tokenType == ANTLRTokenTypeDOWN ) { 139 else if ( tokenType == ANTLRTokenTypeUP ) {
|
ANTLRCommonTreeAdaptor.h | 43 //- (ANTLRCommonTree *) createTree:(NSInteger)tokenType fromToken:(ANTLRCommonToken *)aToken; 44 //- (ANTLRCommonTree *) createTree:(NSInteger)tokenType fromToken:(ANTLRCommonToken *)aToken Text:(NSString *)text; 45 - (id<ANTLRToken>)createToken:(NSInteger)tokenType Text:(NSString *)text; 53 - (void) setType:(ANTLRCommonTree *)t Type:(NSInteger)tokenType;
|
ANTLRTreeAdaptor.m | 75 - (id<ANTLRBaseTree>) createTree:(NSInteger)tokenType fromToken:(id<ANTLRToken>)fromToken 78 [newToken setType:tokenType]; 91 - (id<ANTLRBaseTree>) createTree:(NSInteger)tokenType fromToken:(id<ANTLRToken>)fromToken text:(NSString *)tokenText 107 - (id<ANTLRBaseTree>) createTree:(NSInteger)tokenType text:(NSString *)tokenText 109 id<ANTLRToken> newToken = [self createToken:tokenType text:tokenText]; 187 - (void) setTokenType:(NSInteger)tokenType forNode:(id)aNode
|
/external/nist-sip/java/gov/nist/core/ |
Token.java | 39 protected int tokenType; 44 return this.tokenType; 47 return "tokenValue = " + tokenValue + "/tokenType = " + tokenType;
|
/external/chromium_org/third_party/sqlite/src/src/ |
tokenize.c | 109 ** Store the token type in *tokenType before returning. 111 int sqlite3GetToken(const unsigned char *z, int *tokenType){ 121 *tokenType = TK_SPACE; 128 *tokenType = TK_SPACE; /* IMP: R-22934-25134 */ 131 *tokenType = TK_MINUS; 135 *tokenType = TK_LP; 139 *tokenType = TK_RP; 143 *tokenType = TK_SEMI; 147 *tokenType = TK_PLUS; 151 *tokenType = TK_STAR [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
plurrule_impl.h | 104 typedef enum tokenType { 131 }tokenType; 138 tokenType& type, UErrorCode &status); 139 void checkSyntax(tokenType prevType, tokenType curType, UErrorCode &status); 144 void getKeyType(const UnicodeString& token, tokenType& type, UErrorCode &status); 145 UBool inRange(UChar ch, tokenType& type);
|
/external/icu4c/i18n/ |
plurrule_impl.h | 99 typedef enum tokenType { 126 }tokenType; 133 tokenType& type, UErrorCode &status); 134 void checkSyntax(tokenType prevType, tokenType curType, UErrorCode &status); 136 void getKeyType(const UnicodeString& token, tokenType& type, UErrorCode &status); 137 UBool inRange(UChar ch, tokenType& type);
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
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/ |
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/ |
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/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...] |
/external/chromium_org/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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
HanziToPinyin.java | 138 int tokenType = Token.LATIN; 149 addToken(sb, tokens, tokenType); 155 addToken(sb, tokens, tokenType); 160 if (tokenType != token.type && sb.length() > 0) { 161 addToken(sb, tokens, tokenType); 165 tokenType = token.type; 169 addToken(sb, tokens, tokenType); 175 final StringBuilder sb, final ArrayList<Token> tokens, final int tokenType) { 177 tokens.add(new Token(tokenType, str, str));
|
/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/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/antlr/antlr-3.4/gunit/src/main/resources/org/antlr/gunit/ |
junit.stg | 47 testTreeRuleMethod(methodName,testTreeRuleName,testRuleName,test,tokenType,expecting) ::= << 51 Object actual = examineExecResult(<tokenType>, retval); 67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= << 71 Object actual = examineExecResult(<tokenType>, retval);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
TreeParser.as | 94 var tokenType:int = input.treeAdaptor.getType(look); 95 while ( tokenType!=TokenConstants.EOF && !(tokenType==UP && level==0) ) { 98 tokenType = input.treeAdaptor.getType(look); 99 if ( tokenType == DOWN ) { 102 else if ( tokenType == UP ) {
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
TreeParser.js | 64 tokenType = this.input.getTreeAdaptor().getType(look); 65 while ( tokenType!==org.antlr.runtime.Token.EOF && 66 !(tokenType===TP.UP && level===0) ) 70 tokenType = this.input.getTreeAdaptor().getType(look); 71 if ( tokenType === TP.DOWN ) { 74 else if ( tokenType === TP.UP ) {
|