• Home
  • Raw
  • Download

Lines Matching refs:peek

58             fParser->error(fParser->peek(), String("exceeded max parse depth"));  in increase()
150 Token DSLParser::peek() { in peek() function in SkSL::DSLParser
254 switch (this->peek().fKind) { in declarations()
263 this->error(this->peek(), String("invalid token")); in declarations()
311 Token lookahead = this->peek(); in declaration()
321 lookahead = this->peek(); in declaration()
356 Token lookahead = this->peek(); in functionDeclarationEnd()
448 int line = this->peek().fLine; in globalVarDeclarationEnd()
487 int line = this->peek().fLine; in localVarDeclarationEnd()
524 Token nextToken = this->peek(); in varDeclarationsOrExpressionStatement()
556 prefixData->fPosition = this->position(this->peek()); in varDeclarationsPrefix()
760 int tokenFlag = parse_modifier_token(peek().fKind); in modifiers()
829 if (this->peek().fKind != Token::Kind::TK_RBRACKET) { in type()
832 this->error(this->peek(), "expected array dimension"); in type()
847 if (peek().fKind != Token::Kind::TK_LBRACE) { in interfaceBlock()
869 Token sizeToken = this->peek(); in interfaceBlock()
1010 while (this->peek().fKind != Token::Kind::TK_RBRACE && in switchCase()
1011 this->peek().fKind != Token::Kind::TK_CASE && in switchCase()
1012 this->peek().fKind != Token::Kind::TK_DEFAULT) { in switchCase()
1043 while (this->peek().fKind == Token::Kind::TK_CASE) { in switchStatement()
1052 if (this->peek().fKind == Token::Kind::TK_DEFAULT) { in switchStatement()
1059 while (this->peek().fKind != Token::Kind::TK_RBRACE) { in switchStatement()
1090 Token nextToken = this->peek(); in forStatement()
1102 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) { in forStatement()
1113 if (this->peek().fKind != Token::Kind::TK_RPAREN) { in forStatement()
1141 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) { in returnStatement()
1204 switch (this->peek().fKind) { in block()
1209 this->error(this->peek(), "expected '}', but found end of file"); in block()
1282 switch (this->peek().fKind) { in assignmentExpression()
1334 while (this->peek().fKind == Token::Kind::TK_LOGICALOR) { in logicalOrExpression()
1368 while (this->peek().fKind == Token::Kind::TK_LOGICALAND) { in logicalAndExpression()
1381 while (this->peek().fKind == Token::Kind::TK_BITWISEOR) { in bitwiseOrExpression()
1394 while (this->peek().fKind == Token::Kind::TK_BITWISEXOR) { in bitwiseXorExpression()
1407 while (this->peek().fKind == Token::Kind::TK_BITWISEAND) { in bitwiseAndExpression()
1421 switch (this->peek().fKind) { in equalityExpression()
1437 switch (this->peek().fKind) { in relationalExpression()
1455 switch (this->peek().fKind) { in shiftExpression()
1471 switch (this->peek().fKind) { in additiveExpression()
1487 switch (this->peek().fKind) { in multiplicativeExpression()
1499 Token next = this->peek(); in unaryExpression()
1538 Token t = this->peek(); in postfixExpression()
1644 int line = this->peek().fLine; in suffix()
1671 if (this->peek().fKind != Token::Kind::TK_RPAREN) { in suffix()
1699 Token t = this->peek(); in term()