Home
last modified time | relevance | path

Searched refs:fPushback (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/sksl/
DSkSLDSLParser.h268 fPushbackCheckpoint = fParser->fPushback; in Checkpoint()
291 fParser->fPushback = fPushbackCheckpoint; in rewind()
345 Token fPushback; variable
DSkSLDSLParser.cpp105 , fPushback(Token::Kind::TK_NONE, /*offset=*/-1, /*length=*/-1, /*line=*/-1) { in DSLParser()
117 if (fPushback.fKind != Token::Kind::TK_NONE) { in nextRawToken()
118 Token result = fPushback; in nextRawToken()
119 fPushback.fKind = Token::Kind::TK_NONE; in nextRawToken()
146 SkASSERT(fPushback.fKind == Token::Kind::TK_NONE); in pushback()
147 fPushback = std::move(t); in pushback()
151 if (fPushback.fKind == Token::Kind::TK_NONE) { in peek()
152 fPushback = this->nextToken(); in peek()
154 return fPushback; in peek()
158 if (fPushback.fKind != Token::Kind::TK_NONE && fPushback.fKind != kind) { in checkNext()
/third_party/flutter/skia/src/sksl/
DSkSLParser.cpp104 , fPushback(Token::INVALID, -1, -1) in Parser()
177 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
178 Token result = fPushback; in nextRawToken()
179 fPushback.fKind = Token::INVALID; in nextRawToken()
196 SkASSERT(fPushback.fKind == Token::INVALID); in pushback()
197 fPushback = std::move(t); in pushback()
201 if (fPushback.fKind == Token::INVALID) { in peek()
202 fPushback = this->nextToken(); in peek()
204 return fPushback; in peek()
208 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
DSkSLParser.h277 Token fPushback; variable