Home | History | Annotate | Download | only in parsing

Lines Matching refs:Statement

191   typedef v8::internal::Statement* Statement;
192 typedef ZoneList<v8::internal::Statement*>* StatementList;
307 void ParseModuleItemList(ZoneList<Statement*>* body, bool* ok);
308 Statement* ParseModuleItem(bool* ok);
311 Statement* ParseExportDeclaration(bool* ok);
312 Statement* ParseExportDefault(bool* ok);
340 Statement* RewriteSwitchStatement(Expression* tag,
345 Statement* RewriteTryStatement(Block* try_block, Block* catch_block,
350 ZoneList<Statement*>* body,
355 ZoneList<Statement*>* result, int index);
357 Statement* DeclareFunction(const AstRawString* variable_name,
361 V8_INLINE Statement* DeclareClass(const AstRawString* variable_name,
376 V8_INLINE Statement* DeclareNative(const AstRawString* name, int pos,
473 // Initialize the components of a for-in / for-of statement.
474 Statement* InitializeForEachStatement(ForEachStatement* stmt,
476 Statement* body, int each_keyword_pos);
477 Statement* InitializeForOfStatement(ForOfStatement* stmt, Expression* each,
478 Expression* iterable, Statement* body,
488 Statement* DesugarLexicalBindingsInForStatement(
489 ForStatement* loop, Statement* init, Expression* cond, Statement* next,
490 Statement* body, Scope* inner_scope, const ForInfo& for_info, bool* ok);
538 Statement* BuildAssertIsCoercible(Variable* var);
560 ZoneList<Statement*>* ParseFunction(
666 Statement* FinalizeForOfStatement(ForOfStatement* loop, Variable* completion,
668 void BuildIteratorClose(ZoneList<Statement*>* statements, Variable* iterator,
671 ZoneList<Statement*>* statements,
675 Statement* CheckCallable(Variable* var, Expression* error, int pos);
678 V8_INLINE void PrepareAsyncFunctionBody(ZoneList<Statement*>* body,
680 V8_INLINE void RewriteAsyncFunctionBody(ZoneList<Statement*>* body,
764 V8_INLINE bool IsUseStrictDirective(Statement* statement) const {
765 return IsStringLiteral(statement, ast_value_factory()->use_strict_string());
768 V8_INLINE bool IsUseAsmDirective(Statement* statement) const {
769 return IsStringLiteral(statement, ast_value_factory()->use_asm_string());
772 // Returns true if the statement is an expression statement containing
775 V8_INLINE bool IsStringLiteral(Statement* statement,
777 ExpressionStatement* e_stat = statement->AsExpressionStatement();
954 V8_INLINE static ZoneList<Statement*>* NullStatementList() { return nullptr; }
955 V8_INLINE static bool IsNullStatementList(ZoneList<Statement*>* stmts) {
958 V8_INLINE static Statement* NullStatement() { return nullptr; }
959 V8_INLINE bool IsNullStatement(Statement* stmt) { return stmt == nullptr; }
960 V8_INLINE bool IsEmptyStatement(Statement* stmt) {
1031 V8_INLINE ZoneList<Statement*>* NewStatementList(int size) const {
1032 return new (zone()) ZoneList<Statement*>(size, zone());
1042 V8_INLINE Statement* NewThrowStatement(Expression* exception, int pos) {
1048 const ParserFormalParameters& parameters, ZoneList<Statement*>* body,
1177 // 'continue' statement targets). Upon construction, a new target is
1182 ParserTarget(ParserBase<Parser>* parser, BreakableStatement* statement)
1184 statement_(statement),
1192 BreakableStatement* statement() { return statement_; }