Lines Matching refs:fKind

145         switch (this->peek().fKind) {  in file()
174 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
176 fPushback.fKind = Token::INVALID; in nextRawToken()
185 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken()
186 token.fKind == Token::BLOCK_COMMENT) { in nextToken()
193 SkASSERT(fPushback.fKind == Token::INVALID); in pushback()
198 if (fPushback.fKind == Token::INVALID) { in peek()
205 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
209 if (next.fKind == kind) { in checkNext()
221 if (next.fKind == kind) { in expect()
295 if (this->peek().fKind == Token::LPAREN) { in section()
313 switch (next.fKind) { in section()
404 if (lookahead.fKind == Token::ENUM) { in declaration()
409 if (lookahead.fKind == Token::IDENTIFIER && !this->isType(this->text(lookahead))) { in declaration()
413 if (lookahead.fKind == Token::STRUCT) { in declaration()
416 if (lookahead.fKind == Token::SEMICOLON) { in declaration()
424 if (type->fKind == ASTType::kStruct_Kind && this->checkNext(Token::SEMICOLON)) { in declaration()
433 while (this->peek().fKind != Token::RPAREN) { in declaration()
491 while (this->peek().fKind != Token::RBRACE) { in structDeclaration()
499 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
677 switch (next.fKind) { in layoutCode()
710 if (this->peek().fKind == Token::EQ) { in layoutKey()
923 switch (peek().fKind) { in modifiers()
1022 switch (start.fKind) { in statement()
1086 if (this->peek().fKind != Token::RBRACKET) { in type()
1108 if (peek().fKind != Token::LBRACE) { in interfaceBlock()
1117 while (this->peek().fKind != Token::RBRACE) { in interfaceBlock()
1130 if (this->peek().fKind != Token::RBRACKET) { in interfaceBlock()
1256 while (this->peek().fKind != Token::RBRACE && this->peek().fKind != Token::CASE && in switchCase()
1257 this->peek().fKind != Token::DEFAULT) { in switchCase()
1289 while (this->peek().fKind == Token::CASE) { in switchStatement()
1298 if (this->peek().fKind == Token::DEFAULT) { in switchStatement()
1305 while (this->peek().fKind != Token::RBRACE) { in switchStatement()
1336 switch (nextToken.fKind) { in forStatement()
1364 if (this->peek().fKind != Token::SEMICOLON) { in forStatement()
1374 if (this->peek().fKind != Token::RPAREN) { in forStatement()
1400 if (this->peek().fKind != Token::SEMICOLON) { in returnStatement()
1461 switch (this->peek().fKind) { in block()
1528 switch (this->peek().fKind) { in assignmentExpression()
1690 switch (this->peek().fKind) { in equalityExpression()
1714 switch (this->peek().fKind) { in relationalExpression()
1741 switch (this->peek().fKind) { in shiftExpression()
1766 switch (this->peek().fKind) { in additiveExpression()
1791 switch (this->peek().fKind) { in multiplicativeExpression()
1812 switch (this->peek().fKind) { in unaryExpression()
1839 switch (this->peek().fKind) { in postfixExpression()
1863 switch (next.fKind) { in suffix()
1886 if (this->peek().fKind != Token::RPAREN) { in suffix()
1920 switch (t.fKind) { in term()
1989 switch (t.fKind) { in boolLiteral()