• Home
  • Raw
  • Download

Lines Matching refs:fKind

161         switch (this->peek().fKind) {  in compilationUnit()
203 if (fPushback.fKind != Token::Kind::TK_NONE) { in nextRawToken()
205 fPushback.fKind = Token::Kind::TK_NONE; in nextRawToken()
214 while (token.fKind == Token::Kind::TK_WHITESPACE || in nextToken()
215 token.fKind == Token::Kind::TK_LINE_COMMENT || in nextToken()
216 token.fKind == Token::Kind::TK_BLOCK_COMMENT) { in nextToken()
223 SkASSERT(fPushback.fKind == Token::Kind::TK_NONE); in pushback()
228 if (fPushback.fKind == Token::Kind::TK_NONE) { in peek()
235 if (fPushback.fKind != Token::Kind::TK_NONE && fPushback.fKind != kind) { in checkNext()
239 if (next.fKind == kind) { in checkNext()
251 if (next.fKind == kind) { in expect()
294 SkASSERT(node.fKind == ASTNode::Kind::kType); in isArrayType()
333 if (this->peek().fKind == Token::Kind::TK_LPAREN) { in section()
355 switch (next.fKind) { in section()
447 switch (lookahead.fKind) { in declaration()
458 if (lookahead.fKind == Token::Kind::TK_IDENTIFIER && !this->isType(this->text(lookahead))) { in declaration()
462 if (lookahead.fKind == Token::Kind::TK_STRUCT) { in declaration()
465 if (lookahead.fKind == Token::Kind::TK_SEMICOLON) { in declaration()
481 if (this->peek().fKind != Token::Kind::TK_RPAREN) { in declaration()
515 if (nextToken.fKind == Token::Kind::TK_CONST) { in varDeclarationsOrExpressionStatement()
572 while (this->peek().fKind != Token::Kind::TK_RBRACE) { in structDeclaration()
601 if (!size || size.fKind != ASTNode::Kind::kInt) { in structDeclaration()
813 switch (next.fKind) { in layoutCode()
1027 int tokenFlag = parse_modifier_token(peek().fKind); in modifiers()
1053 switch (start.fKind) { in statement()
1104 if (this->peek().fKind != Token::Kind::TK_RBRACKET) { in type()
1129 if (peek().fKind != Token::Kind::TK_LBRACE) { in interfaceBlock()
1139 while (this->peek().fKind != Token::Kind::TK_RBRACE) { in interfaceBlock()
1163 if (this->peek().fKind != Token::Kind::TK_RBRACKET) { in interfaceBlock()
1290 while (this->peek().fKind != Token::Kind::TK_RBRACE && in switchCase()
1291 this->peek().fKind != Token::Kind::TK_CASE && in switchCase()
1292 this->peek().fKind != Token::Kind::TK_DEFAULT) { in switchCase()
1324 while (this->peek().fKind == Token::Kind::TK_CASE) { in switchStatement()
1333 if (this->peek().fKind == Token::Kind::TK_DEFAULT) { in switchStatement()
1342 while (this->peek().fKind != Token::Kind::TK_RBRACE) { in switchStatement()
1368 if (nextToken.fKind == Token::Kind::TK_SEMICOLON) { in forStatement()
1381 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) { in forStatement()
1394 if (this->peek().fKind != Token::Kind::TK_RPAREN) { in forStatement()
1421 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) { in returnStatement()
1482 switch (this->peek().fKind) { in block()
1529 Operator(t.fKind)); in expression()
1548 switch (this->peek().fKind) { in assignmentExpression()
1569 ASTNode::Kind::kBinary, Operator(t.fKind)); in assignmentExpression()
1629 Operator(t.fKind)); in logicalOrExpression()
1654 Operator(t.fKind)); in logicalXorExpression()
1679 Operator(t.fKind)); in logicalAndExpression()
1704 Operator(t.fKind)); in bitwiseOrExpression()
1729 Operator(t.fKind)); in bitwiseXorExpression()
1754 Operator(t.fKind)); in bitwiseAndExpression()
1770 switch (this->peek().fKind) { in equalityExpression()
1782 ASTNode::Kind::kBinary, Operator(t.fKind)); in equalityExpression()
1802 switch (this->peek().fKind) { in relationalExpression()
1816 ASTNode::Kind::kBinary, Operator(t.fKind)); in relationalExpression()
1836 switch (this->peek().fKind) { in shiftExpression()
1848 ASTNode::Kind::kBinary, Operator(t.fKind)); in shiftExpression()
1868 switch (this->peek().fKind) { in additiveExpression()
1880 ASTNode::Kind::kBinary, Operator(t.fKind)); in additiveExpression()
1900 switch (this->peek().fKind) { in multiplicativeExpression()
1913 ASTNode::Kind::kBinary, Operator(t.fKind)); in multiplicativeExpression()
1928 switch (this->peek().fKind) { in unaryExpression()
1944 Operator(t.fKind)); in unaryExpression()
1962 switch (t.fKind) { in postfixExpression()
1997 switch (next.fKind) { in suffix()
2052 if (id.fKind == Token::Kind::TK_IDENTIFIER) { in suffix()
2064 if (this->peek().fKind != Token::Kind::TK_RPAREN) { in suffix()
2082 Operator(next.fKind)); in suffix()
2096 switch (t.fKind) { in term()
2178 switch (t.fKind) { in boolLiteral()