Lines Matching refs:peek

58             fParser->error(fParser->peek(), String("exceeded max parse depth"));
150 Token DSLParser::peek() {
254 switch (this->peek().fKind) {
263 this->error(this->peek(), String("invalid token"));
311 Token lookahead = this->peek();
321 lookahead = this->peek();
356 Token lookahead = this->peek();
448 int line = this->peek().fLine;
487 int line = this->peek().fLine;
524 Token nextToken = this->peek();
556 prefixData->fPosition = this->position(this->peek());
760 int tokenFlag = parse_modifier_token(peek().fKind);
829 if (this->peek().fKind != Token::Kind::TK_RBRACKET) {
832 this->error(this->peek(), "expected array dimension");
847 if (peek().fKind != Token::Kind::TK_LBRACE) {
869 Token sizeToken = this->peek();
1010 while (this->peek().fKind != Token::Kind::TK_RBRACE &&
1011 this->peek().fKind != Token::Kind::TK_CASE &&
1012 this->peek().fKind != Token::Kind::TK_DEFAULT) {
1043 while (this->peek().fKind == Token::Kind::TK_CASE) {
1052 if (this->peek().fKind == Token::Kind::TK_DEFAULT) {
1059 while (this->peek().fKind != Token::Kind::TK_RBRACE) {
1090 Token nextToken = this->peek();
1102 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) {
1113 if (this->peek().fKind != Token::Kind::TK_RPAREN) {
1141 if (this->peek().fKind != Token::Kind::TK_SEMICOLON) {
1204 switch (this->peek().fKind) {
1209 this->error(this->peek(), "expected '}', but found end of file");
1282 switch (this->peek().fKind) {
1334 while (this->peek().fKind == Token::Kind::TK_LOGICALOR) {
1368 while (this->peek().fKind == Token::Kind::TK_LOGICALAND) {
1381 while (this->peek().fKind == Token::Kind::TK_BITWISEOR) {
1394 while (this->peek().fKind == Token::Kind::TK_BITWISEXOR) {
1407 while (this->peek().fKind == Token::Kind::TK_BITWISEAND) {
1421 switch (this->peek().fKind) {
1437 switch (this->peek().fKind) {
1455 switch (this->peek().fKind) {
1471 switch (this->peek().fKind) {
1487 switch (this->peek().fKind) {
1499 Token next = this->peek();
1538 Token t = this->peek();
1644 int line = this->peek().fLine;
1671 if (this->peek().fKind != Token::Kind::TK_RPAREN) {
1699 Token t = this->peek();