• Home
  • Raw
  • Download

Lines Matching refs:Peek

269   } else if (!Peek('}') && !scanner_.IsPrecededByNewline()) {  in SkipSemicolon()
341 while (Peek(TOK(function))) { in ValidateModule()
344 while (Peek(TOK(var))) { in ValidateModule()
388 if (!Peek(')')) { in ValidateModuleParameters()
393 if (!Peek(')')) { in ValidateModuleParameters()
399 if (!Peek(')')) { in ValidateModuleParameters()
413 while (Peek(TOK(var)) || Peek(TOK(const))) { in ValidateModuleVars()
479 } else if (Peek(foreign_name_) || Peek('+')) { in ValidateModuleVar()
644 if (!Peek('}')) { in ValidateExport()
704 if (!Peek(']')) { in ValidateFunctionTable()
768 while (!failed_ && !Peek('}')) { in ValidateFunction()
770 last_statement_is_return = Peek(TOK(return)); in ValidateFunction()
842 while (!failed_ && !Peek(')')) { in ValidateFunctionParams()
847 if (!Peek(')')) { in ValidateFunctionParams()
899 while (Peek(TOK(var))) { in ValidateFunctionLocals()
1016 if (!Peek(',')) { in ValidateFunctionLocals()
1030 if (Peek('{')) { in ValidateStatement()
1032 } else if (Peek(';')) { in ValidateStatement()
1034 } else if (Peek(TOK(if))) { in ValidateStatement()
1037 } else if (Peek(TOK(return))) { in ValidateStatement()
1042 } else if (Peek(TOK(break))) { in ValidateStatement()
1044 } else if (Peek(TOK(continue))) { in ValidateStatement()
1046 } else if (Peek(TOK(switch))) { in ValidateStatement()
1062 while (!failed_ && !Peek('}')) { in Block()
1076 if (Peek(':')) { in ExpressionStatement()
1116 if (!Peek(';') && !Peek('}')) { in ReturnStatement()
1140 if (Peek(TOK(while))) { in IterationStatement()
1142 } else if (Peek(TOK(do))) { in IterationStatement()
1144 } else if (Peek(TOK(for))) { in IterationStatement()
1211 if (!Peek(';')) { in ForStatement()
1227 if (!Peek(';')) { in ForStatement()
1245 if (!Peek(')')) { in ForStatement()
1335 while (!failed_ && Peek(TOK(case))) { in SwitchStatement()
1342 if (Peek(TOK(default))) { in SwitchStatement()
1370 while (!failed_ && !Peek('}') && !Peek(TOK(case)) && !Peek(TOK(default))) { in ValidateCase()
1379 while (!failed_ && !Peek('}')) { in ValidateDefault()
1396 if (Peek(',')) { in Expression()
1466 } else if (Peek('(')) { in CallExpression()
1483 if (Peek('=')) { in MemberExpression()
1504 if (Peek('=')) { in AssignmentExpression()
1614 } else if (Peek('+')) { in UnaryExpression()
2178 while (!failed_ && !Peek(')')) { in ValidateCall()
2191 if (!Peek(')')) { in ValidateCall()
2216 if (allow_peek && Peek('|') && in ValidateCall()
2421 if (Peek('(') || Peek('[')) { in PeekCall()
2515 if (Peek('(')) { in ScanToClosingParenthesis()
2517 } else if (Peek(')')) { in ScanToClosingParenthesis()
2522 } else if (Peek(AsmJsScanner::kEndOfInput)) { in ScanToClosingParenthesis()
2533 if (Peek('{')) { in GatherCases()
2535 } else if (Peek('}')) { in GatherCases()
2540 } else if (depth == 1 && Peek(TOK(case))) { in GatherCases()
2554 } else if (Peek(AsmJsScanner::kEndOfInput) || in GatherCases()
2555 Peek(AsmJsScanner::kParseError)) { in GatherCases()