• Home
  • Raw
  • Download

Lines Matching refs:checkNext

147 bool Parser::checkNext(Token::Kind kind, Token* result) {  in checkNext()  function in SkSL::Parser
304 if (!this->checkNext(Token::RBRACE)) { in enumDeclaration()
310 if (this->checkNext(Token::EQ)) { in enumDeclaration()
319 while (!this->checkNext(Token::RBRACE)) { in enumDeclaration()
327 if (this->checkNext(Token::EQ)) { in enumDeclaration()
367 if (type->fKind == ASTType::kStruct_Kind && this->checkNext(Token::SEMICOLON)) { in declaration()
374 if (this->checkNext(Token::LPAREN)) { in declaration()
390 if (!this->checkNext(Token::SEMICOLON)) { in declaration()
473 if (this->checkNext(Token::IDENTIFIER, &name)) { in structVarDeclaration()
498 while (this->checkNext(Token::LBRACKET)) { in varDeclarationEnd()
499 if (this->checkNext(Token::RBRACKET)) { in varDeclarationEnd()
513 if (this->checkNext(Token::EQ)) { in varDeclarationEnd()
520 while (this->checkNext(Token::COMMA)) { in varDeclarationEnd()
527 while (this->checkNext(Token::LBRACKET)) { in varDeclarationEnd()
528 if (this->checkNext(Token::RBRACKET)) { in varDeclarationEnd()
541 if (this->checkNext(Token::EQ)) { in varDeclarationEnd()
569 while (this->checkNext(Token::LBRACKET)) { in parameter()
684 if (this->checkNext(Token::LAYOUT)) { in layout()
817 if (this->checkNext(Token::RPAREN)) { in layout()
986 while (this->checkNext(Token::LBRACKET)) { in type()
1029 if (this->checkNext(Token::IDENTIFIER, &instanceNameToken)) { in interfaceBlock()
1030 while (this->checkNext(Token::LBRACKET)) { in interfaceBlock()
1055 bool isStatic = this->checkNext(Token::STATIC_IF, &start); in ifStatement()
1074 if (this->checkNext(Token::ELSE)) { in ifStatement()
1172 bool isStatic = this->checkNext(Token::STATIC_SWITCH, &start); in switchStatement()
1409 while (this->checkNext(Token::COMMA, &t)) { in commaExpression()
1466 if (this->checkNext(Token::QUESTION)) { in ternaryExpression()
1489 while (this->checkNext(Token::LOGICALOR, &t)) { in logicalOrExpression()
1506 while (this->checkNext(Token::LOGICALXOR, &t)) { in logicalXorExpression()
1523 while (this->checkNext(Token::LOGICALAND, &t)) { in logicalAndExpression()
1540 while (this->checkNext(Token::BITWISEOR, &t)) { in bitwiseOrExpression()
1557 while (this->checkNext(Token::BITWISEXOR, &t)) { in bitwiseXorExpression()
1574 while (this->checkNext(Token::BITWISEAND, &t)) { in bitwiseAndExpression()
1766 if (this->checkNext(Token::RBRACKET)) { in suffix()
1794 if (!this->checkNext(Token::COMMA)) { in suffix()