Home
last modified time | relevance | path

Searched refs:currentToken (Results 1 – 24 of 24) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dtokenizer.py54 self.currentToken = None
217 self.currentToken["data"][-1][1] += output
235 token = self.currentToken
377 self.currentToken = {"type": tokenTypes["StartTag"],
408 self.currentToken = {"type": tokenTypes["EndTag"], "name": data,
444 self.currentToken["name"] += "\uFFFD"
446 self.currentToken["name"] += data
474 …appropriate = self.currentToken and self.currentToken["name"].lower() == self.temporaryBuffer.lowe…
477 self.currentToken = {"type": tokenTypes["EndTag"],
482 self.currentToken = {"type": tokenTypes["EndTag"],
[all …]
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tokenization/
Dtokenizer.js164 this.currentToken = null;
305 this.currentToken = this.buildStartTagToken(tagNameFirstCh);
309 this.currentToken = this.buildEndTagToken(tagNameFirstCh);
313 this.currentToken = { property
320 this.currentToken = { property
345 return Tokenizer.getTokenAttr(this.currentToken, this.currentAttr.name) !== null;
352 this.currentToken.attrs.push(this.currentAttr);
358 return this.lastStartTagName === this.currentToken.tagName;
366 if (this.currentToken.type === Tokenizer.START_TAG_TOKEN)
367 this.lastStartTagName = this.currentToken.tagName;
[all …]
Dlocation_info_mixin.js20 this._attachLocationInfo(this.currentToken);
25 this._attachLocationInfo(this.currentToken);
30 this._attachLocationInfo(this.currentToken);
35 this._attachLocationInfo(this.currentToken);
48 this.currentCharacterToken.location.end = this.currentToken.location.start;
50 this.currentToken.location.end = this.preprocessor.pos + 1;
/external/protobuf/java/src/main/java/com/google/protobuf/
DTextFormat.java605 private String currentToken; field in TextFormat.Tokenizer
650 return currentToken.length() == 0; in atEnd()
672 currentToken = ""; in nextToken()
676 currentToken = matcher.group(); in nextToken()
680 currentToken = String.valueOf(text.charAt(pos)); in nextToken()
704 if (currentToken.equals(token)) { in tryConsume()
727 if (currentToken.length() == 0) { in lookingAtInteger()
731 final char c = currentToken.charAt(0); in lookingAtInteger()
741 return currentToken.equals(text); in lookingAt()
749 for (int i = 0; i < currentToken.length(); i++) { in consumeIdentifier()
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DPsiBuilderTokenStream.java51 @Nullable private CommonToken currentToken = null; field in PsiBuilderTokenStream
60 if (currentToken == null) { in LT()
63 return currentToken; in LT()
69 return currentToken==null?0:1; in range()
98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText()); in buildCurrentToken()
100 currentToken = new InvalidToken("", psiBuilder.getTokenText()); in buildCurrentToken()
105 currentToken = new CommonToken(Token.EOF); in buildCurrentToken()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
Dmain.m12 id<ANTLRToken> currentToken;
13 …while ((currentToken = [[lexer nextToken] retain]) && [currentToken getType] != ANTLRTokenTypeEOF)…
14 NSLog(@"%@", currentToken);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
Dmain.m13 id<ANTLRToken> currentToken;
14 while ((currentToken = [lexer nextToken]) && [currentToken getType] != ANTLRTokenTypeEOF) {
15 NSLog(@"%@", currentToken);
/external/apache-http/src/org/apache/http/message/
DBasicTokenIterator.java75 protected String currentToken; field in BasicTokenIterator
102 return (this.currentToken != null); in hasNext()
117 if (this.currentToken == null) { in nextToken()
121 final String result = this.currentToken; in nextToken()
190 this.currentToken = null; in findNext()
195 this.currentToken = createToken(this.currentHeader, start, end); in findNext()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/fuzzy/
Dmain.m16 id<ANTLRToken> currentToken;
17 while ((currentToken = [lex nextToken]) && [currentToken getType] != ANTLRTokenTypeEOF) {
18 NSLog(@"### %@", [currentToken toString]);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
Dmain.m15 // ANTLRToken *currentToken;
16 // while ((currentToken = [lexer nextToken]) && [currentToken type] != ANTLRTokenTypeEOF) {
17 // NSLog(@"%@", currentToken);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/
Dmain.m14 // ANTLRCommonToken *currentToken;
15 // while ((currentToken = [lexer nextToken]) && [currentToken getType] != ANTLRTokenTypeEOF) {
16 // NSLog(@"%@", [currentToken toString]);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/scopes/
Dmain.m14 // ANTLRCommonToken *currentToken;
15 // while ((currentToken = [lexer nextToken]) && [currentToken getType] != ANTLRTokenTypeEOF) {
16 // NSLog(@"%@", currentToken);
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
Dmain.m14 // id<ANTLRToken> currentToken;
15 // while ((currentToken = [lexer nextToken]) && [currentToken type] != ANTLRTokenTypeEOF) {
16 // NSLog(@"%@", currentToken);
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_construction/
Dlocation_info_mixin.js48 setEndLocation(this.current, parser.currentToken, treeAdapter);
54 setEndLocation(this.items[i], parser.currentToken, treeAdapter);
60 setEndLocation(element, parser.currentToken, treeAdapter);
77 this.currentToken = null;
83 this.currentToken = token;
88 this.currentToken = token;
Dparser.js466 Parser.prototype._switchToTextParsing = function (currentToken, nextTokenizerState) { argument
467 this._insertElement(currentToken, NS.HTML);
/external/javassist/src/main/javassist/compiler/
DLex.java30 private Token currentToken; field in Lex
42 currentToken = new Token(); in Lex()
53 return get(currentToken); in get()
56 currentToken = t = lookAheadTokens; in get()
72 lookAheadTokens = tk = currentToken; // reuse an object! in lookAhead()
84 currentToken = tk; in lookAhead()
89 return currentToken.textValue; in getString()
93 return currentToken.longValue; in getLong()
97 return currentToken.doubleValue; in getDouble()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
Dmain.m37 // id<ANTLRToken> currentToken;
38 // while ((currentToken = [lexer nextToken]) && [currentToken type] != ANTLRTokenTypeEOF) {
39 // NSLog(@"%@", currentToken);
/external/skia/src/gpu/
DGrBatchFlushState.h69 GrBatchToken currentToken() const { return fCurrentToken; } in currentToken() function
142 GrBatchToken currentToken() const { return fState->currentToken(); } in currentToken() function
DGrBatchAtlas.cpp236 if (plot->lastUseToken() == batchTarget->currentToken()) { in addToAtlas()
240 SkASSERT(plot->lastUseToken() < batchTarget->currentToken()); in addToAtlas()
241 SkASSERT(!batchTarget->hasTokenBeenFlushed(batchTarget->currentToken())); in addToAtlas()
257 newPlot->setLastUploadToken(batchTarget->currentToken()); in addToAtlas()
DGrDrawingManager.cpp87 SkASSERT(fFlushState.lastFlushedToken() == fFlushState.currentToken()); in flush()
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/
Dparse5.js1262 this._attachLocationInfo(this.currentToken);
1267 this._attachLocationInfo(this.currentToken);
1272 this._attachLocationInfo(this.currentToken);
1277 this._attachLocationInfo(this.currentToken);
1290 this.currentCharacterToken.location.end = this.currentToken.location.start;
1292 this.currentToken.location.end = this.preprocessor.pos + 1;
1613 this.currentToken = null;
1754 this.currentToken = this.buildStartTagToken(tagNameFirstCh);
1758 this.currentToken = this.buildEndTagToken(tagNameFirstCh);
1762 this.currentToken = {
[all …]
/external/skia/src/gpu/text/
DGrAtlasTextBlob_regenInBatch.cpp209 target->currentToken()); in regenInBatch()
314 fontCache->setUseTokenBulk(*info.bulkUseToken(), target->currentToken(), in regenInBatch()
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_tokenizer.py27 tokenizer.currentToken = {"type": "startTag",
/external/skia/src/gpu/batches/
DGrAADistanceFieldPathRenderer.cpp277 atlas->setLastUseToken(pathData->fID, target->currentToken()); in onPrepareDraws()