V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::PreParserFactory Class Reference

Public Member Functions

 PreParserFactory (AstValueFactory *ast_value_factory, Zone *zone)
 
AstNodeFactoryast_node_factory ()
 
PreParserExpression NewStringLiteral (const PreParserIdentifier &identifier, int pos)
 
PreParserExpression NewNumberLiteral (double number, int pos)
 
PreParserExpression NewUndefinedLiteral (int pos)
 
PreParserExpression NewTheHoleLiteral ()
 
PreParserExpression NewRegExpLiteral (const PreParserIdentifier &js_pattern, int js_flags, int pos)
 
PreParserExpression NewArrayLiteral (const PreParserExpressionList &values, int first_spread_index, int pos)
 
PreParserExpression NewClassLiteralProperty (const PreParserExpression &key, const PreParserExpression &value, ClassLiteralProperty::Kind kind, bool is_static, bool is_computed_name, bool is_private)
 
PreParserExpression NewObjectLiteralProperty (const PreParserExpression &key, const PreParserExpression &value, ObjectLiteralProperty::Kind kind, bool is_computed_name)
 
PreParserExpression NewObjectLiteralProperty (const PreParserExpression &key, const PreParserExpression &value, bool is_computed_name)
 
PreParserExpression NewObjectLiteral (const PreParserExpressionList &properties, int boilerplate_properties, int pos, bool has_rest_property)
 
PreParserExpression NewVariableProxy (void *variable)
 
PreParserExpression NewProperty (const PreParserExpression &obj, const PreParserExpression &key, int pos)
 
PreParserExpression NewUnaryOperation (Token::Value op, const PreParserExpression &expression, int pos)
 
PreParserExpression NewBinaryOperation (Token::Value op, const PreParserExpression &left, const PreParserExpression &right, int pos)
 
PreParserExpression NewCompareOperation (Token::Value op, const PreParserExpression &left, const PreParserExpression &right, int pos)
 
PreParserExpression NewRewritableExpression (const PreParserExpression &expression, Scope *scope)
 
PreParserExpression NewAssignment (Token::Value op, const PreParserExpression &left, const PreParserExpression &right, int pos)
 
PreParserExpression NewYield (const PreParserExpression &expression, int pos, Suspend::OnAbruptResume on_abrupt_resume)
 
PreParserExpression NewAwait (const PreParserExpression &expression, int pos)
 
PreParserExpression NewYieldStar (const PreParserExpression &iterable, int pos)
 
PreParserExpression NewConditional (const PreParserExpression &condition, const PreParserExpression &then_expression, const PreParserExpression &else_expression, int pos)
 
PreParserExpression NewCountOperation (Token::Value op, bool is_prefix, const PreParserExpression &expression, int pos)
 
PreParserExpression NewCall (PreParserExpression expression, const PreParserExpressionList &arguments, int pos, Call::PossiblyEval possibly_eval=Call::NOT_EVAL)
 
PreParserExpression NewTaggedTemplate (PreParserExpression expression, const PreParserExpressionList &arguments, int pos)
 
PreParserExpression NewCallNew (const PreParserExpression &expression, const PreParserExpressionList &arguments, int pos)
 
PreParserStatement NewReturnStatement (const PreParserExpression &expression, int pos, int continuation_pos=kNoSourcePosition)
 
PreParserStatement NewAsyncReturnStatement (const PreParserExpression &expression, int pos, int continuation_pos=kNoSourcePosition)
 
PreParserExpression NewFunctionLiteral (const PreParserIdentifier &name, Scope *scope, const PreParserScopedStatementList &body, int expected_property_count, int parameter_count, int function_length, FunctionLiteral::ParameterFlag has_duplicate_parameters, FunctionLiteral::FunctionType function_type, FunctionLiteral::EagerCompileHint eager_compile_hint, int position, bool has_braces, int function_literal_id, ProducedPreParsedScopeData *produced_preparsed_scope_data=nullptr)
 
PreParserExpression NewSpread (const PreParserExpression &expression, int pos, int expr_pos)
 
PreParserExpression NewEmptyParentheses (int pos)
 
PreParserStatement EmptyStatement ()
 
PreParserStatement NewBlock (int capacity, bool ignore_completion_value)
 
PreParserStatement NewBlock (bool ignore_completion_value, ZonePtrList< const AstRawString > *labels)
 
PreParserStatement NewBlock (bool ignore_completion_value, const PreParserScopedStatementList &list)
 
PreParserStatement NewDebuggerStatement (int pos)
 
PreParserStatement NewExpressionStatement (const PreParserExpression &expr, int pos)
 
PreParserStatement NewIfStatement (const PreParserExpression &condition, PreParserStatement then_statement, PreParserStatement else_statement, int pos, SourceRange then_range={}, SourceRange else_range={})
 
PreParserStatement NewBreakStatement (PreParserStatement target, int pos, int continuation_pos=kNoSourcePosition)
 
PreParserStatement NewContinueStatement (PreParserStatement target, int pos, int continuation_pos=kNoSourcePosition)
 
PreParserStatement NewWithStatement (Scope *scope, const PreParserExpression &expression, PreParserStatement statement, int pos)
 
PreParserStatement NewDoWhileStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
PreParserStatement NewWhileStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
PreParserStatement NewSwitchStatement (ZonePtrList< const AstRawString > *labels, const PreParserExpression &tag, int pos)
 
PreParserStatement NewCaseClause (const PreParserExpression &label, const PreParserScopedStatementList &statements)
 
PreParserStatement NewForStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
PreParserStatement NewForEachStatement (ForEachStatement::VisitMode visit_mode, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
PreParserStatement NewForOfStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, int pos)
 
PreParserExpression NewCallRuntime (Runtime::FunctionId id, ZoneChunkList< PreParserExpression > *arguments, int pos)
 
PreParserExpression NewImportCallExpression (const PreParserExpression &args, int pos)
 

Detailed Description

Definition at line 536 of file preparser.h.


The documentation for this class was generated from the following file: