Lines Matching refs:fKind
88 switch (this->peek().fKind) { in file()
117 if (fPushback.fKind != Token::INVALID) { in nextRawToken()
119 fPushback.fKind = Token::INVALID; in nextRawToken()
128 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken()
129 token.fKind == Token::BLOCK_COMMENT) { in nextToken()
136 ASSERT(fPushback.fKind == Token::INVALID); in pushback()
141 if (fPushback.fKind == Token::INVALID) { in peek()
148 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext()
152 if (next.fKind == kind) { in checkNext()
164 if (next.fKind == kind) { in expect()
238 if (this->peek().fKind == Token::LPAREN) { in section()
256 switch (next.fKind) { in section()
347 if (lookahead.fKind == Token::ENUM) { in declaration()
352 if (lookahead.fKind == Token::IDENTIFIER && !this->isType(this->text(lookahead))) { in declaration()
356 if (lookahead.fKind == Token::STRUCT) { in declaration()
359 if (lookahead.fKind == Token::SEMICOLON) { in declaration()
367 if (type->fKind == ASTType::kStruct_Kind && this->checkNext(Token::SEMICOLON)) { in declaration()
376 while (this->peek().fKind != Token::RPAREN) { in declaration()
434 while (this->peek().fKind != Token::RBRACE) { in structDeclaration()
442 if (!var.fSizes[i] || var.fSizes[i]->fKind != ASTExpression::kInt_Kind) { in structDeclaration()
620 switch (next.fKind) { in layoutCode()
653 if (this->peek().fKind == Token::EQ) { in layoutKey()
694 int token = fLayoutLexer.next().fKind; in layout()
836 switch (peek().fKind) { in modifiers()
923 switch (start.fKind) { in statement()
987 if (this->peek().fKind != Token::RBRACKET) { in type()
1009 if (peek().fKind != Token::LBRACE) { in interfaceBlock()
1018 while (this->peek().fKind != Token::RBRACE) { in interfaceBlock()
1031 if (this->peek().fKind != Token::RBRACKET) { in interfaceBlock()
1157 while (this->peek().fKind != Token::RBRACE && this->peek().fKind != Token::CASE && in switchCase()
1158 this->peek().fKind != Token::DEFAULT) { in switchCase()
1190 while (this->peek().fKind == Token::CASE) { in switchStatement()
1199 if (this->peek().fKind == Token::DEFAULT) { in switchStatement()
1206 while (this->peek().fKind != Token::RBRACE) { in switchStatement()
1237 switch (nextToken.fKind) { in forStatement()
1265 if (this->peek().fKind != Token::SEMICOLON) { in forStatement()
1275 if (this->peek().fKind != Token::RPAREN) { in forStatement()
1301 if (this->peek().fKind != Token::SEMICOLON) { in returnStatement()
1362 switch (this->peek().fKind) { in block()
1429 switch (this->peek().fKind) { in assignmentExpression()
1590 switch (this->peek().fKind) { in equalityExpression()
1614 switch (this->peek().fKind) { in relationalExpression()
1641 switch (this->peek().fKind) { in shiftExpression()
1666 switch (this->peek().fKind) { in additiveExpression()
1691 switch (this->peek().fKind) { in multiplicativeExpression()
1712 switch (this->peek().fKind) { in unaryExpression()
1739 switch (this->peek().fKind) { in postfixExpression()
1763 switch (next.fKind) { in suffix()
1786 if (this->peek().fKind != Token::RPAREN) { in suffix()
1820 switch (t.fKind) { in term()
1889 switch (t.fKind) { in boolLiteral()