Home
last modified time | relevance | path

Searched refs:tokenType (Results 1 – 25 of 115) sorted by relevance

12345

/external/webkit/Source/WebCore/storage/
DIDBKeyPath.cpp176 IDBKeyPathLexer::TokenType tokenType = lexer.nextTokenType(); in IDBParseKeyPath() local
178 if (tokenType == IDBKeyPathLexer::TokenIdentifier) in IDBParseKeyPath()
180 else if (tokenType == IDBKeyPathLexer::TokenLeftBracket) in IDBParseKeyPath()
182 else if (tokenType == IDBKeyPathLexer::TokenEnd) in IDBParseKeyPath()
192 IDBKeyPathLexer::TokenType tokenType = lexer.currentTokenType(); in IDBParseKeyPath() local
193 ASSERT(tokenType == IDBKeyPathLexer::TokenIdentifier); in IDBParseKeyPath()
199 tokenType = lexer.nextTokenType(); in IDBParseKeyPath()
200 if (tokenType == IDBKeyPathLexer::TokenDot) in IDBParseKeyPath()
202 else if (tokenType == IDBKeyPathLexer::TokenLeftBracket) in IDBParseKeyPath()
204 else if (tokenType == IDBKeyPathLexer::TokenEnd) in IDBParseKeyPath()
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DSourceHTMLTokenizer.js123 this.tokenType = null;
126 this.tokenType = this._attrValueTokenType();
151 this.tokenType = this._internalJavaScriptTokenizer.tokenType;
163 this.tokenType = this._internalCSSTokenizer.tokenType;
213 { this.tokenType = "html-comment"; return cursor; }
221 { this.tokenType = null; return cursor; }
246 { this.tokenType = "html-comment"; return cursor; }
269 { this.tokenType = "html-doctype"; return cursor; }
275 { this.tokenType = null; return cursor; }
279 { this.tokenType = "html-doctype"; return cursor; }
[all …]
DSourceJavaScriptTokenizer.re2js140 <DIV,NODIV> LineComment { this.tokenType = "javascript-comment"; return cursor; }
141 <DIV,NODIV> Comment { this.tokenType = "javascript-comment"; return cursor; }
142 … <DIV,NODIV> CommentStart => COMMENT { this.tokenType = "javascript-comment"; return cursor; }
143 … <COMMENT> CommentContent => COMMENT { this.tokenType = "javascript-comment"; return cursor; }
144 … <COMMENT> CommentEnd => NODIV { this.tokenType = "javascript-comment"; return cursor; }
146 <DIV,NODIV> StringLiteral { this.tokenType = "javascript-string"; return cursor; }
147 … <DIV,NODIV> DoubleStringStart => DSTRING { this.tokenType = "javascript-string"; return cursor; }
148 … <DSTRING> DoubleStringContent => DSTRING { this.tokenType = "javascript-string"; return cursor; }
149 … <DSTRING> DoubleStringEnd => NODIV { this.tokenType = "javascript-string"; return cursor; }
150 … <DIV,NODIV> SingleStringStart => SSTRING { this.tokenType = "javascript-string"; return cursor; }
[all …]
DSourceHTMLTokenizer.re2js122 this.tokenType = null;
125 this.tokenType = this._attrValueTokenType();
150 this.tokenType = this._internalJavaScriptTokenizer.tokenType;
162 this.tokenType = this._internalCSSTokenizer.tokenType;
214 <INITIAL> Comment { this.tokenType = "html-comment"; return cursor; }
215 … <INITIAL> CommentStart => COMMENT { this.tokenType = "html-comment"; return cursor; }
216 … <COMMENT> CommentContent => COMMENT { this.tokenType = "html-comment"; return cursor; }
217 <COMMENT> CommentEnd => INITIAL { this.tokenType = "html-comment"; return cursor; }
219 … <INITIAL> DocTypeStart => DOCTYPE { this.tokenType = "html-doctype"; return cursor; }
220 … <DOCTYPE> DocTypeContent => DOCTYPE { this.tokenType = "html-doctype"; return cursor; }
[all …]
DSourceCSSTokenizer.js128 this.tokenType = "css-string";
130 this.tokenType = null;
176 { this.tokenType = "css-comment"; return cursor; }
183 { this.tokenType = null; return cursor; }
192 { this.tokenType = "css-comment"; return cursor; }
236 { this.tokenType = null; return cursor; }
368 { this.tokenType = null; return cursor; }
378 this.tokenType = "css-at-rule";
381 this.tokenType = "css-at-rule";
383 this.tokenType = "css-selector";
[all …]
DSourceJavaScriptTokenizer.js121 { this.tokenType = "javascript-comment"; return cursor; }
128 { this.tokenType = null; return cursor; }
137 { this.tokenType = "javascript-comment"; return cursor; }
230 { this.tokenType = null; return cursor; }
236 { this.tokenType = null; return cursor; }
251 this.tokenType = "javascript-keyword";
253 this.tokenType = "javascript-ident";
276 { this.tokenType = null; return cursor; }
307 { this.tokenType = null; return cursor; }
327 { this.tokenType = "javascript-number"; return cursor; }
[all …]
DSourceCSSTokenizer.re2js127 this.tokenType = "css-string";
129 this.tokenType = null;
181 <INITIAL> Comment { this.tokenType = "css-comment"; return cursor; }
182 <INITIAL> CommentStart => COMMENT { this.tokenType = "css-comment"; return cursor; }
183 … <COMMENT> CommentContent => COMMENT { this.tokenType = "css-comment"; return cursor; }
184 <COMMENT> CommentEnd => INITIAL { this.tokenType = "css-comment"; return cursor; }
196 this.tokenType = null;
206 this.tokenType = null;
213 this.tokenType = null;
221 this.tokenType = null;
[all …]
DDOMSyntaxHighlighter.js58 var tokenType = this._tokenizer.tokenType;
59 if (tokenType) {
65 node.appendChild(this.createSpan(token, tokenType));
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRDebugTreeAdaptor.m148 - (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];
164 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:fromToken.text type:tokenType
168 …LRBaseTree>) newANTLRTreeWithToken:(id<ANTLRToken>)fromToken tokenType:(NSInteger)tokenType text:(…
[all …]
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DBaseTreeAdaptor.java182 public Object create(int tokenType, Token fromToken) { in create() argument
185 fromToken.setType(tokenType); in create()
190 public Object create(int tokenType, Token fromToken, String text) { in create() argument
191 if (fromToken == null) return create(tokenType, text); in create()
193 fromToken.setType(tokenType); in create()
199 public Object create(int tokenType, String text) { in create() argument
200 Token fromToken = createToken(tokenType, text); in create()
261 public abstract Token createToken(int tokenType, String text); in createToken() argument
DTreeParser.java111 int tokenType = input.getTreeAdaptor().getType(look); in matchAny() local
112 while ( tokenType!=Token.EOF && !(tokenType==UP && level==0) ) { in matchAny()
115 tokenType = input.getTreeAdaptor().getType(look); in matchAny()
116 if ( tokenType == DOWN ) { in matchAny()
119 else if ( tokenType == UP ) { in matchAny()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBaseTreeAdaptor.cs198 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument
201 fromToken.Type = tokenType; in Create()
206 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument
208 return Create(tokenType, text); in Create()
211 fromToken.Type = tokenType; in Create()
217 public virtual object Create(int tokenType, string text) { in Create() argument
218 IToken fromToken = CreateToken(tokenType, text); in Create()
283 public abstract IToken CreateToken(int tokenType, string text); in CreateToken() argument
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DTreeParser.js64 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 ) {
/external/llvm/lib/MC/MCDisassembler/
DEDToken.h32 enum tokenType { enum
48 enum tokenType Type;
70 enum tokenType type,
93 enum tokenType type() const;
/external/icu4c/i18n/
Dplurrule_impl.h99 typedef enum tokenType { enum
126 }tokenType; typedef
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/C/src/
Dantlr3basetreeadaptor.c58 …REE createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_…
59 …E dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_…
60 … createTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_…
61 …bgCreateTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_…
62 …TREE createTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t…
63 …EE dbgCreateTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t…
760 createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN f… in createTypeToken() argument
768 fromToken->setType(fromToken, tokenType); in createTypeToken()
775 dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKE… in dbgCreateTypeToken() argument
779 t = createTypeToken(adaptor, tokenType, fromToken); in dbgCreateTypeToken()
[all …]
/external/nist-sip/java/gov/nist/core/
DToken.java39 protected int tokenType; field in Token
44 return this.tokenType; in getTokenType()
47 return "tokenValue = " + tokenValue + "/tokenType = " + tokenType; in toString()
DLexerCore.java181 tok.tokenType = type.intValue(); in peekNextToken()
183 tok.tokenType = ID; in peekNextToken()
188 tok.tokenType = ALPHA; in peekNextToken()
190 tok.tokenType = DIGIT; in peekNextToken()
192 tok.tokenType = (int) nextChar; in peekNextToken()
216 this.currentMatch.tokenType = ID; in match()
223 this.currentMatch.tokenType = SAFE; in match()
234 this.currentMatch.tokenType = tok; in match()
245 this.currentMatch.tokenType = tok; in match()
254 this.currentMatch.tokenType = tok; in match()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBaseTreeAdaptor.cs242 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument
245 fromToken.Type = tokenType; in Create()
250 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument
253 return Create( tokenType, text ); in Create()
256 fromToken.Type = tokenType; in Create()
273 public virtual object Create( int tokenType, string text ) in Create() argument
275 IToken fromToken = CreateToken( tokenType, text ); in Create()
371 public abstract IToken CreateToken( int tokenType, string text ); in CreateToken() argument
/external/icu4c/test/intltest/
Dwbnf.cpp796 tokenType = t; in terminated()
806 tokenType = ERROR; in Scanner()
814 TokenType tokenType; member in Scanner
828 tokenType = ERROR; in getNextToken()
830 case '?' : tokenType = QUESTION; break; in getNextToken()
831 case '*' : tokenType = STAR; break; in getNextToken()
832 case '+' : tokenType = PLUS; break; in getNextToken()
833 case '{' : tokenType = LBRACE; break; in getNextToken()
834 case '}' : tokenType = RBRACE; break; in getNextToken()
835 case '(' : tokenType = LPAR; break; in getNextToken()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTreeAdaptor.cs146 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument
147 object node = adaptor.Create(tokenType, fromToken); in Create()
152 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument
153 object node = adaptor.Create(tokenType, fromToken, text); in Create()
158 public virtual object Create(int tokenType, string text) { in Create() argument
159 object node = adaptor.Create(tokenType, text); in Create()
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRCommonTree.h49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 …d<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 …ANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *…
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRCommonTree.h49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 …d<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 …ANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *…
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRCommonTree.h49 + (ANTLRCommonTree *) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
52 + (id<ANTLRTree>) newANTLRCommonTreeWithTokenType:(NSInteger)tokenType;
53 …d<ANTLRTree>) newANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType;
54 …ANTLRCommonTreeWithToken:(id<ANTLRToken>)fromToken TokenType:(NSInteger)tokenType Text:(NSString *…
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTreeAdaptor.cs186 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument
188 object node = adaptor.Create( tokenType, fromToken ); in Create()
193 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument
195 object node = adaptor.Create( tokenType, fromToken, text ); in Create()
200 public virtual object Create( int tokenType, string text ) in Create() argument
202 object node = adaptor.Create( tokenType, text ); in Create()

12345