/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/documentation/ |
WikiParser.js | 56 WebInspector.WikiParser.TokenType = { 84 * @param {!WebInspector.WikiParser.TokenType} type 102 * @return {!WebInspector.WikiParser.TokenType} 183 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.CodeBlock); 187 if (this._isNormalMode() && WebInspector.WikiParser._tokenDescriptors[i].type === WebInspector.WikiParser.TokenType.Space) 199 if (this._isNormalMode() && WebInspector.WikiParser._tokenDescriptors[i].type === WebInspector.WikiParser.TokenType.Space) 204 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.Text); 211 return new WebInspector.WikiParser.Token(token, WebInspector.WikiParser.TokenType.Text); 264 * @param {!WebInspector.WikiParser.TokenType} type 273 new WebInspector.WikiParser.TokenDescriptor(WebInspector.WikiParser.closingTable, WebInspector.WikiParser.TokenType.ClosingTable) [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
CssFuzzerTest.java | 37 import org.owasp.html.CssTokens.TokenType; 144 CssTokens.TokenType type = it.type(); 174 private static final EnumMap<CssTokens.TokenType, Pattern> TOKEN_TYPE_FILTERS 175 = Maps.newEnumMap(CssTokens.TokenType.class); 182 CssTokens.TokenType.AT, Pattern.compile("@" + IDENT)); 184 CssTokens.TokenType.COLON, Pattern.compile(":")); 186 CssTokens.TokenType.COLUMN, Pattern.compile("\\|\\|")); 188 CssTokens.TokenType.COMMA, Pattern.compile(",")); 190 CssTokens.TokenType.DELIM, 193 CssTokens.TokenType.DIMENSION, Pattern.compile(NUMBER + "[a-z]+")) [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;
|
/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/WebKit/Source/devtools/front_end/script_formatter_worker/ |
ScriptFormatterWorker.js | 128 * @param {?string} tokenType 131 function isJavaScriptIdentifier(tokenType) 133 if (!tokenType) 135 return tokenType.startsWith("variable") || tokenType.startsWith("property") || tokenType === "def"; 140 * @param {?string} tokenType 144 function processToken(tokenValue, tokenType, column, newColumn) 146 if (tokenType === "property" && previousTokenType === "property" && (previousToken === "get" || previousToken === "set")) { 150 } else if (isJavaScriptIdentifier(tokenType)) { [all...] |
/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/owasp/sanitizer/src/main/org/owasp/html/ |
CssTokens.java | 77 private final TokenType[] tokenTypes; 144 if (type() != TokenType.WHITESPACE) { return true; } 151 public TokenType type() { 176 TokenType[] tokenTypes) { 183 public enum TokenType { 283 private static final TokenType[] ZERO_TYPES = new TokenType[0]; 299 private List<TokenType> tokenTypes = null; 335 TokenType openBracket(char bracketChar) { 337 TokenType type [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
ecmametadatapass.py | 25 TokenType = javascripttokens.JavaScriptTokenType 326 if token_type == TokenType.START_PAREN: 334 elif token_type == TokenType.END_PAREN: 342 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES) 343 if next_code.type != TokenType.START_BLOCK: 348 pre_keyword_token.type == TokenType.END_BLOCK): 362 elif (token_type == TokenType.KEYWORD and 364 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES) 365 if (next_code.type != TokenType.START_BLOCK and 366 (next_code.type != TokenType.KEYWORD or next_code.string != 'if')) [all...] |
/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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
HanziToPinyin.java | 145 int tokenType = Token.LATIN; 156 addToken(sb, tokens, tokenType); 162 addToken(sb, tokens, tokenType); 167 if (tokenType != token.type && sb.length() > 0) { 168 addToken(sb, tokens, tokenType); 172 tokenType = token.type; 176 addToken(sb, tokens, tokenType); 182 final StringBuilder sb, final ArrayList<Token> tokens, final int tokenType) { 184 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/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
DOMSyntaxHighlighter.js | 68 * @param {?string} tokenType 73 function processToken(token, tokenType, column, newColumn) 75 if (!tokenType) 82 node.appendChild(this.createSpan(token, tokenType));
|
/external/chromium_org/third_party/icu/source/i18n/ |
plurrule_impl.h | 100 enum tokenType { 144 static tokenType getKeyType(const UnicodeString& token, tokenType type); 145 static tokenType charType(UChar ch); 151 tokenType type; 152 tokenType prevType; 194 double get(tokenType operand) const; 227 tokenType digitsType; // n | i | v | f constraint.
|
/external/icu/icu4c/source/i18n/ |
plurrule_impl.h | 100 enum tokenType { 144 static tokenType getKeyType(const UnicodeString& token, tokenType type); 145 static tokenType charType(UChar ch); 151 tokenType type; 152 tokenType prevType; 194 double get(tokenType operand) const; 227 tokenType digitsType; // n | i | v | f constraint.
|
/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 ) {
|