Lines Matching refs:fKind
146 switch (this->peek().fKind) { in file()
175 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
177 fPushback.fKind = Token::INVALID; in nextRawToken()
186 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken()
187 token.fKind == Token::BLOCK_COMMENT) { in nextToken()
194 SkASSERT(fPushback.fKind == Token::INVALID); in pushback()
199 if (fPushback.fKind == Token::INVALID) { in peek()
206 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
210 if (next.fKind == kind) { in checkNext()
222 if (next.fKind == kind) { in expect()
296 if (this->peek().fKind == Token::LPAREN) { in section()
314 switch (next.fKind) { in section()
405 if (lookahead.fKind == Token::ENUM) { in declaration()
410 if (lookahead.fKind == Token::IDENTIFIER && !this->isType(this->text(lookahead))) { in declaration()
414 if (lookahead.fKind == Token::STRUCT) { in declaration()
417 if (lookahead.fKind == Token::SEMICOLON) { in declaration()
425 if (type->fKind == ASTType::kStruct_Kind && this->checkNext(Token::SEMICOLON)) { in declaration()
434 while (this->peek().fKind != Token::RPAREN) { in declaration()
492 while (this->peek().fKind != Token::RBRACE) { in structDeclaration()
500 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
678 switch (next.fKind) { in layoutCode()
711 if (this->peek().fKind == Token::EQ) { in layoutKey()
924 switch (peek().fKind) { in modifiers()
1011 switch (start.fKind) { in statement()
1072 if (this->peek().fKind != Token::RBRACKET) { in type()
1095 if (peek().fKind != Token::LBRACE) { in interfaceBlock()
1104 while (this->peek().fKind != Token::RBRACE) { in interfaceBlock()
1117 if (this->peek().fKind != Token::RBRACKET) { in interfaceBlock()
1243 while (this->peek().fKind != Token::RBRACE && this->peek().fKind != Token::CASE && in switchCase()
1244 this->peek().fKind != Token::DEFAULT) { in switchCase()
1276 while (this->peek().fKind == Token::CASE) { in switchStatement()
1285 if (this->peek().fKind == Token::DEFAULT) { in switchStatement()
1292 while (this->peek().fKind != Token::RBRACE) { in switchStatement()
1323 switch (nextToken.fKind) { in forStatement()
1351 if (this->peek().fKind != Token::SEMICOLON) { in forStatement()
1361 if (this->peek().fKind != Token::RPAREN) { in forStatement()
1387 if (this->peek().fKind != Token::SEMICOLON) { in returnStatement()
1448 switch (this->peek().fKind) { in block()
1515 switch (this->peek().fKind) { in assignmentExpression()
1677 switch (this->peek().fKind) { in equalityExpression()
1701 switch (this->peek().fKind) { in relationalExpression()
1728 switch (this->peek().fKind) { in shiftExpression()
1753 switch (this->peek().fKind) { in additiveExpression()
1778 switch (this->peek().fKind) { in multiplicativeExpression()
1799 switch (this->peek().fKind) { in unaryExpression()
1830 switch (this->peek().fKind) { in postfixExpression()
1854 switch (next.fKind) { in suffix()
1877 if (this->peek().fKind != Token::RPAREN) { in suffix()
1911 switch (t.fKind) { in term()
1984 switch (t.fKind) { in boolLiteral()