|
| PreParserTraits (PreParser *pre_parser) |
|
bool | ShortcutNumericLiteralBinaryExpression (PreParserExpression *x, PreParserExpression y, Token::Value op, int pos, PreParserFactory *factory) |
|
PreParserExpression | BuildUnaryExpression (PreParserExpression expression, Token::Value op, int pos, PreParserFactory *factory) |
|
PreParserExpression | NewThrowReferenceError (const char *type, int pos) |
|
PreParserExpression | NewThrowSyntaxError (const char *type, Handle< Object > arg, int pos) |
|
PreParserExpression | NewThrowTypeError (const char *type, Handle< Object > arg, int pos) |
|
PreParserScope | NewScope (PreParserScope *outer_scope, ScopeType scope_type) |
|
void | ReportMessageAt (Scanner::Location location, const char *message, const char *arg=NULL, bool is_reference_error=false) |
|
void | ReportMessageAt (int start_pos, int end_pos, const char *message, const char *arg=NULL, bool is_reference_error=false) |
|
PreParserIdentifier | GetSymbol (Scanner *scanner) |
|
PreParserIdentifier | GetNumberAsSymbol (Scanner *scanner) |
|
PreParserExpression | ExpressionFromString (int pos, Scanner *scanner, PreParserFactory *factory=NULL) |
|
PreParserExpression | GetIterator (PreParserExpression iterable, PreParserFactory *factory) |
|
void | SkipLazyFunctionBody (PreParserIdentifier function_name, int *materialized_literal_count, int *expected_property_count, bool *ok) |
|
PreParserStatementList | ParseEagerFunctionBody (PreParserIdentifier function_name, int pos, Variable *fvar, Token::Value fvar_init_op, bool is_generator, bool *ok) |
|
int | DeclareArrowParametersFromExpression (PreParserExpression expression, PreParserScope *scope, Scanner::Location *dupe_loc, bool *ok) |
|
void | CheckConflictingVarDeclarations (PreParserScope scope, bool *ok) |
|
PreParserExpression | ParseV8Intrinsic (bool *ok) |
|
PreParserExpression | ParseFunctionLiteral (PreParserIdentifier name, Scanner::Location function_name_location, bool name_is_strict_reserved, FunctionKind kind, int function_token_position, FunctionLiteral::FunctionType type, FunctionLiteral::ArityRestriction arity_restriction, bool *ok) |
|
|
template<typename FunctionState > |
static void | SetUpFunctionState (FunctionState *function_state) |
|
template<typename FunctionState > |
static void | TearDownFunctionState (FunctionState *function_state) |
|
static bool | IsEvalOrArguments (PreParserIdentifier identifier) |
|
static bool | IsPrototype (PreParserIdentifier identifier) |
|
static bool | IsConstructor (PreParserIdentifier identifier) |
|
static bool | IsThisProperty (PreParserExpression expression) |
|
static bool | IsIdentifier (PreParserExpression expression) |
|
static PreParserIdentifier | AsIdentifier (PreParserExpression expression) |
|
static bool | IsFutureStrictReserved (PreParserIdentifier identifier) |
|
static bool | IsBoilerplateProperty (PreParserExpression property) |
|
static bool | IsArrayIndex (PreParserIdentifier string, uint32_t *index) |
|
static void | PushLiteralName (FuncNameInferrer *fni, PreParserIdentifier id) |
|
static void | PushPropertyName (FuncNameInferrer *fni, PreParserExpression expression) |
|
static void | InferFunctionName (FuncNameInferrer *fni, PreParserExpression expression) |
|
static void | CheckFunctionLiteralInsideTopLevelObjectLiteral (PreParserScope *scope, PreParserExpression property, bool *has_function) |
|
static void | CheckAssigningFunctionLiteralToProperty (PreParserExpression left, PreParserExpression right) |
|
static void | CheckPossibleEvalCall (PreParserExpression expression, PreParserScope *scope) |
|
static PreParserExpression | MarkExpressionAsAssigned (PreParserExpression expression) |
|
static PreParserIdentifier | EmptyIdentifier () |
|
static PreParserIdentifier | EmptyIdentifierString () |
|
static PreParserExpression | EmptyExpression () |
|
static PreParserExpression | EmptyArrowParamList () |
|
static PreParserExpression | EmptyLiteral () |
|
static PreParserExpression | EmptyObjectLiteralProperty () |
|
static PreParserExpression | EmptyFunctionLiteral () |
|
static PreParserExpressionList | NullExpressionList () |
|
static PreParserExpression | GetLiteralTheHole (int position, PreParserFactory *factory) |
|
static PreParserIdentifier | GetNextSymbol (Scanner *scanner) |
|
static PreParserExpression | ThisExpression (PreParserScope *scope, PreParserFactory *factory) |
|
static PreParserExpression | SuperReference (PreParserScope *scope, PreParserFactory *factory) |
|
static PreParserExpression | ClassLiteral (PreParserIdentifier name, PreParserExpression extends, PreParserExpression constructor, PreParserExpressionList properties, int position, PreParserFactory *factory) |
|
static PreParserExpression | ExpressionFromLiteral (Token::Value token, int pos, Scanner *scanner, PreParserFactory *factory) |
|
static PreParserExpression | ExpressionFromIdentifier (PreParserIdentifier name, int pos, PreParserScope *scope, PreParserFactory *factory) |
|
static PreParserExpressionList | NewExpressionList (int size, void *zone) |
|
static PreParserStatementList | NewStatementList (int size, void *zone) |
|
static PreParserExpressionList | NewPropertyList (int size, void *zone) |
|
static AstValueFactory * | ast_value_factory () |
|
Definition at line 1107 of file preparser.h.