Lines Matching refs:PreParserStatement

449 class PreParserStatement;  variable
450 typedef PreParserList<PreParserStatement> PreParserStatementList;
452 class PreParserStatement {
454 static PreParserStatement Default() { in Default()
455 return PreParserStatement(kUnknownStatement); in Default()
458 static PreParserStatement Null() { in Null()
459 return PreParserStatement(kNullStatement); in Null()
462 static PreParserStatement Empty() { in Empty()
463 return PreParserStatement(kEmptyStatement); in Empty()
466 static PreParserStatement Jump() { in Jump()
467 return PreParserStatement(kJumpStatement); in Jump()
473 static PreParserStatement ExpressionStatement( in ExpressionStatement()
476 return PreParserStatement(kUseStrictExpressionStatement); in ExpressionStatement()
479 return PreParserStatement(kUseAsmExpressionStatement); in ExpressionStatement()
482 return PreParserStatement(kStringLiteralExpressionStatement); in ExpressionStatement()
508 PreParserStatement* operator->() { return this; }
512 void Initialize(PreParserExpression cond, PreParserStatement body) {} in Initialize()
513 void Initialize(PreParserStatement init, PreParserExpression cond, in Initialize()
514 PreParserStatement next, PreParserStatement body) {} in Initialize()
527 explicit PreParserStatement(Type code) : code_(code) {} in PreParserStatement() function
654 PreParserStatement NewReturnStatement(PreParserExpression expression, in NewReturnStatement()
656 return PreParserStatement::Jump(); in NewReturnStatement()
678 PreParserStatement NewEmptyStatement(int pos) { in NewEmptyStatement()
679 return PreParserStatement::Default(); in NewEmptyStatement()
682 PreParserStatement NewBlock(ZoneList<const AstRawString*>* labels, in NewBlock()
685 return PreParserStatement::Default(); in NewBlock()
688 PreParserStatement NewDebuggerStatement(int pos) { in NewDebuggerStatement()
689 return PreParserStatement::Default(); in NewDebuggerStatement()
692 PreParserStatement NewExpressionStatement(PreParserExpression expr, int pos) { in NewExpressionStatement()
693 return PreParserStatement::ExpressionStatement(expr); in NewExpressionStatement()
696 PreParserStatement NewIfStatement(PreParserExpression condition, in NewIfStatement()
697 PreParserStatement then_statement, in NewIfStatement()
698 PreParserStatement else_statement, in NewIfStatement()
704 PreParserStatement NewBreakStatement(PreParserStatement target, int pos) { in NewBreakStatement()
705 return PreParserStatement::Jump(); in NewBreakStatement()
708 PreParserStatement NewContinueStatement(PreParserStatement target, int pos) { in NewContinueStatement()
709 return PreParserStatement::Jump(); in NewContinueStatement()
712 PreParserStatement NewWithStatement(Scope* scope, in NewWithStatement()
714 PreParserStatement statement, int pos) { in NewWithStatement()
715 return PreParserStatement::Default(); in NewWithStatement()
718 PreParserStatement NewDoWhileStatement(ZoneList<const AstRawString*>* labels, in NewDoWhileStatement()
720 return PreParserStatement::Default(); in NewDoWhileStatement()
723 PreParserStatement NewWhileStatement(ZoneList<const AstRawString*>* labels, in NewWhileStatement()
725 return PreParserStatement::Default(); in NewWhileStatement()
728 PreParserStatement NewSwitchStatement(ZoneList<const AstRawString*>* labels, in NewSwitchStatement()
730 return PreParserStatement::Default(); in NewSwitchStatement()
733 PreParserStatement NewCaseClause(PreParserExpression label, in NewCaseClause()
735 return PreParserStatement::Default(); in NewCaseClause()
738 PreParserStatement NewForStatement(ZoneList<const AstRawString*>* labels, in NewForStatement()
740 return PreParserStatement::Default(); in NewForStatement()
743 PreParserStatement NewForEachStatement(ForEachStatement::VisitMode visit_mode, in NewForEachStatement()
746 return PreParserStatement::Default(); in NewForEachStatement()
774 PreParserStatement statement) {} in PreParserTarget()
800 typedef PreParserStatement Statement;
802 typedef PreParserStatement Block;
803 typedef PreParserStatement BreakableStatement;
804 typedef PreParserStatement IterationStatement;
833 typedef PreParserStatement Statement;
997 PreParserStatement block,
1008 PreParserStatement block,
1033 V8_INLINE PreParserStatement RewriteSwitchStatement(
1034 PreParserExpression tag, PreParserStatement switch_statement,
1036 return PreParserStatement::Default();
1040 V8_INLINE PreParserStatement RewriteTryStatement(
1041 PreParserStatement try_block, PreParserStatement catch_block,
1042 PreParserStatement finally_block, const CatchInfo& catch_info, int pos) {
1043 return PreParserStatement::Default();
1046 V8_INLINE PreParserExpression RewriteDoExpression(PreParserStatement body,
1053 V8_INLINE PreParserStatement LookupBreakTarget(PreParserIdentifier label,
1055 return PreParserStatement::Default();
1057 V8_INLINE PreParserStatement LookupContinueTarget(PreParserIdentifier label,
1059 return PreParserStatement::Default();
1062 V8_INLINE PreParserStatement DeclareFunction(
1069 V8_INLINE PreParserStatement
1073 return PreParserStatement::Default();
1087 V8_INLINE PreParserStatement DeclareNative(PreParserIdentifier name, int pos,
1089 return PreParserStatement::Default();
1171 V8_INLINE bool IsUseStrictDirective(PreParserStatement statement) const {
1175 V8_INLINE bool IsUseAsmDirective(PreParserStatement statement) const {
1179 V8_INLINE bool IsStringLiteral(PreParserStatement statement) const {
1229 V8_INLINE PreParserStatement
1232 return PreParserStatement::Default();
1235 V8_INLINE PreParserStatement
1236 InitializeForEachStatement(PreParserStatement stmt, PreParserExpression each,
1238 PreParserStatement body, int each_keyword_pos) {
1242 V8_INLINE PreParserStatement RewriteForVarInLegacy(const ForInfo& for_info) {
1243 return PreParserStatement::Null();
1246 ForInfo* for_info, PreParserStatement* body_block,
1248 V8_INLINE PreParserStatement CreateForEachStatementTDZ(
1249 PreParserStatement init_block, const ForInfo& for_info, bool* ok) {
1254 PreParserStatement loop, PreParserStatement init,
1255 PreParserExpression cond, PreParserStatement next,
1256 PreParserStatement body, Scope* inner_scope, const ForInfo& for_info,
1336 V8_INLINE static PreParserStatement NullStatement() {
1337 return PreParserStatement::Null();
1340 V8_INLINE bool IsNullStatement(PreParserStatement stmt) {
1344 V8_INLINE bool IsEmptyStatement(PreParserStatement stmt) {
1348 V8_INLINE static PreParserStatement NullBlock() {
1349 return PreParserStatement::Null();
1438 V8_INLINE PreParserStatement NewThrowStatement(PreParserExpression exception,
1440 return PreParserStatement::Jump();