|
| Target * | target_stack () |
| |
| BreakableStatementT | LookupBreakTarget (IdentifierT label) |
| |
| IterationStatementT | LookupContinueTarget (IdentifierT label) |
| |
| void | DeclareLabel (ZonePtrList< const AstRawString > **labels, ZonePtrList< const AstRawString > **own_labels, const AstRawString *label) |
| |
| bool | ContainsLabel (const ZonePtrList< const AstRawString > *labels, const AstRawString *label) |
| |
| bool | TargetStackContainsLabel (const AstRawString *label) |
| |
| ClassLiteralProperty::Kind | ClassPropertyKindFor (ParsePropertyKind kind) |
| |
| VariableMode | GetVariableMode (ClassLiteralProperty::Kind kind) |
| |
| const AstRawString * | ClassFieldVariableName (AstValueFactory *ast_value_factory, int index) |
| |
| const AstRawString * | AutoAccessorVariableName (AstValueFactory *ast_value_factory, int index) |
| |
| DeclarationScope * | NewScriptScope (REPLMode repl_mode) const |
| |
| DeclarationScope * | NewVarblockScope () const |
| |
| ModuleScope * | NewModuleScope (DeclarationScope *parent) const |
| |
| DeclarationScope * | NewEvalScope (Scope *parent) const |
| |
| ClassScope * | NewClassScope (Scope *parent, bool is_anonymous) const |
| |
| Scope * | NewBlockScopeForObjectLiteral () |
| |
| Scope * | NewScope (ScopeType scope_type) const |
| |
| Scope * | NewScopeWithParent (Scope *parent, ScopeType scope_type) const |
| |
| DeclarationScope * | NewFunctionScope (FunctionKind kind, Zone *parse_zone=nullptr) const |
| |
| V8_INLINE DeclarationScope * | GetDeclarationScope () const |
| |
| V8_INLINE DeclarationScope * | GetClosureScope () const |
| |
| VariableProxy * | NewRawVariable (const AstRawString *name, int pos) |
| |
| VariableProxy * | NewUnresolved (const AstRawString *name) |
| |
| VariableProxy * | NewUnresolved (const AstRawString *name, int begin_pos, VariableKind kind=NORMAL_VARIABLE) |
| |
| Scanner * | scanner () const |
| |
| AstValueFactory * | ast_value_factory () const |
| |
| int | position () const |
| |
| int | peek_position () const |
| |
| int | end_position () const |
| |
| int | peek_end_position () const |
| |
| bool | stack_overflow () const |
| |
| void | set_stack_overflow () |
| |
| void | CheckStackOverflow () |
| |
| V8_INLINE Token::Value | peek () |
| |
| int | PositionAfterSemicolon () |
| |
| V8_INLINE Token::Value | PeekAheadAhead () |
| |
| V8_INLINE Token::Value | PeekAhead () |
| |
| V8_INLINE Token::Value | Next () |
| |
| V8_INLINE void | Consume (Token::Value token) |
| |
| V8_INLINE bool | Check (Token::Value token) |
| |
| void | Expect (Token::Value token) |
| |
| void | ExpectSemicolon () |
| |
| bool | peek_any_identifier () |
| |
| bool | PeekContextualKeyword (const AstRawString *name) |
| |
| bool | PeekContextualKeyword (Token::Value token) |
| |
| bool | CheckContextualKeyword (const AstRawString *name) |
| |
| bool | CheckContextualKeyword (Token::Value token) |
| |
| void | ExpectContextualKeyword (const AstRawString *name, const char *fullname=nullptr, int pos=-1) |
| |
| void | ExpectContextualKeyword (Token::Value token) |
| |
| bool | CheckInOrOf (ForEachStatement::VisitMode *visit_mode) |
| |
| bool | PeekInOrOf () |
| |
| void | CheckStrictOctalLiteral (int beg_pos, int end_pos) |
| |
| bool | CheckTemplateEscapes (bool should_throw) |
| |
| ExpressionT | ParsePossibleDestructuringSubPattern (AccumulationScope *scope) |
| |
| void | ClassifyParameter (IdentifierT parameter, int beg_pos, int end_pos) |
| |
| void | ClassifyArrowParameter (AccumulationScope *accumulation_scope, int position, ExpressionT parameter) |
| |
| void | CheckFunctionName (LanguageMode language_mode, IdentifierT function_name, FunctionNameValidity function_name_validity, const Scanner::Location &function_name_loc) |
| |
| Types::Factory * | factory () |
| |
| DeclarationScope * | GetReceiverScope () const |
| |
| LanguageMode | language_mode () |
| |
| void | RaiseLanguageMode (LanguageMode mode) |
| |
| bool | is_generator () const |
| |
| bool | is_async_function () const |
| |
| bool | is_async_generator () const |
| |
| bool | is_resumable () const |
| |
| bool | is_await_allowed () const |
| |
| bool | is_await_as_identifier_disallowed () const |
| |
| bool | IsAwaitAsIdentifierDisallowed (FunctionKind kind) const |
| |
| bool | is_using_allowed () const |
| |
| bool | IsNextUsingKeyword (Token::Value token_after_using, bool is_await_using) |
| |
| bool | IfStartsWithUsingOrAwaitUsingKeyword () |
| |
| const PendingCompilationErrorHandler * | pending_error_handler () const |
| |
| PendingCompilationErrorHandler * | pending_error_handler () |
| |
| template<typename... Ts> |
| V8_NOINLINE void | ReportMessage (MessageTemplate message, const Ts &... args) |
| |
| template<typename... Ts> |
| V8_NOINLINE void | ReportMessageAt (Scanner::Location source_location, MessageTemplate message, const Ts &... args) |
| |
| V8_NOINLINE void | ReportMessageAt (Scanner::Location source_location, MessageTemplate message, const PreParserIdentifier &arg0) |
| |
| V8_NOINLINE void | ReportUnexpectedToken (Token::Value token) |
| |
| void | ValidateFormalParameters (LanguageMode language_mode, const FormalParametersT ¶meters, bool allow_duplicates) |
| |
| V8_INLINE void | UseThis () |
| |
| V8_INLINE IdentifierT | ParseAndClassifyIdentifier (Token::Value token) |
| |
| V8_INLINE bool | ClassifyPropertyIdentifier (Token::Value token, ParsePropertyInfo *prop_info) |
| |
| V8_INLINE IdentifierT | ParseIdentifier (FunctionKind function_kind) |
| |
| V8_INLINE IdentifierT | ParseIdentifier () |
| |
| IdentifierT | ParseNonRestrictedIdentifier () |
| |
| V8_INLINE IdentifierT | ParsePropertyName () |
| |
| ExpressionT | ParsePropertyOrPrivatePropertyName () |
| |
| const AstRawString * | GetNextSymbolForRegExpLiteral () const |
| |
| bool | ValidateRegExpFlags (RegExpFlags flags) |
| |
| bool | ValidateRegExpLiteral (const AstRawString *pattern, RegExpFlags flags, RegExpError *regexp_error) |
| |
| ExpressionT | ParseRegExpLiteral () |
| |
| ExpressionT | ParseBindingPattern () |
| |
| ExpressionT | ParsePrimaryExpression () |
| |
| V8_INLINE ExpressionT | ParseExpression () |
| |
| V8_INLINE ExpressionT | ParseAssignmentExpression () |
| |
| V8_INLINE ExpressionT | ParseConditionalChainAssignmentExpression () |
| |
| ExpressionT | ParseExpressionCoverGrammar () |
| |
| ExpressionT | ParseAssignmentExpressionCoverGrammar () |
| |
| ExpressionT | ParseAssignmentExpressionCoverGrammarContinuation (int lhs_beg_pos, ExpressionT expression) |
| |
| ExpressionT | ParseConditionalChainAssignmentExpressionCoverGrammar () |
| |
| ExpressionT | ParseArrowParametersWithRest (ExpressionListT *list, AccumulationScope *scope, int seen_variables) |
| |
| ExpressionT | ParseArrayLiteral () |
| |
| ExpressionT | ParseProperty (ParsePropertyInfo *prop_info) |
| |
| ExpressionT | ParseObjectLiteral () |
| |
| V8_INLINE bool | VerifyCanHaveAutoAccessorOrThrow (ParsePropertyInfo *prop_info, ExpressionT name_expression, int name_token_position) |
| |
| V8_INLINE bool | ParseCurrentSymbolAsClassFieldOrMethod (ParsePropertyInfo *prop_info, ExpressionT *name_expression) |
| |
| V8_INLINE bool | ParseAccessorPropertyOrAutoAccessors (ParsePropertyInfo *prop_info, ExpressionT *name_expression, int *name_token_position) |
| |
| ClassLiteralPropertyT | ParseClassPropertyDefinition (ClassInfo *class_info, ParsePropertyInfo *prop_info, bool has_extends) |
| |
| void | CheckClassFieldName (IdentifierT name, bool is_static) |
| |
| void | CheckClassMethodName (IdentifierT name, ParsePropertyKind type, ParseFunctionFlags flags, bool is_static, bool *has_seen_constructor) |
| |
| ExpressionT | ParseMemberInitializer (ClassInfo *class_info, int beg_pos, int info_id, bool is_static) |
| |
| BlockT | ParseClassStaticBlock (ClassInfo *class_info) |
| |
| ObjectLiteralPropertyT | ParseObjectPropertyDefinition (ParsePropertyInfo *prop_info, bool *has_seen_proto) |
| |
| void | ParseArguments (ExpressionListT *args, bool *has_spread, ParsingArrowHeadFlag maybe_arrow=kCertainlyNotArrowHead) |
| |
| ExpressionT | ParseYieldExpression () |
| |
| V8_INLINE ExpressionT | ParseConditionalExpression () |
| |
| ExpressionT | ParseConditionalChainExpression (ExpressionT condition, int condition_pos) |
| |
| ExpressionT | ParseConditionalContinuation (ExpressionT expression, int pos) |
| |
| ExpressionT | ParseLogicalExpression () |
| |
| ExpressionT | ParseCoalesceExpression (ExpressionT expression) |
| |
| ExpressionT | ParseBinaryContinuation (ExpressionT x, int prec, int prec1) |
| |
| V8_INLINE ExpressionT | ParseBinaryExpression (int prec) |
| |
| ExpressionT | ParseUnaryOrPrefixExpression () |
| |
| ExpressionT | ParseAwaitExpression () |
| |
| V8_INLINE ExpressionT | ParseUnaryExpression () |
| |
| V8_INLINE ExpressionT | ParsePostfixExpression () |
| |
| V8_NOINLINE ExpressionT | ParsePostfixContinuation (ExpressionT expression, int lhs_beg_pos) |
| |
| V8_INLINE ExpressionT | ParseLeftHandSideExpression () |
| |
| ExpressionT | ParseLeftHandSideContinuation (ExpressionT expression) |
| |
| ExpressionT | ParseMemberWithPresentNewPrefixesExpression () |
| |
| ExpressionT | ParseFunctionExpression () |
| |
| V8_INLINE ExpressionT | ParseMemberExpression () |
| |
| V8_INLINE ExpressionT | ParseMemberExpressionContinuation (ExpressionT expression) |
| |
| ExpressionT | DoParseMemberExpressionContinuation (ExpressionT expression) |
| |
| ExpressionT | ParseArrowFunctionLiteral (const FormalParametersT ¶meters, int function_literal_id, bool could_be_immediately_invoked) |
| |
| ExpressionT | ParseAsyncFunctionLiteral () |
| |
| ExpressionT | ParseClassExpression (Scope *outer_scope) |
| |
| ExpressionT | ParseClassLiteral (Scope *outer_scope, IdentifierT name, Scanner::Location class_name_location, bool name_is_strict_reserved, int class_token_pos) |
| |
| void | ParseClassLiteralBody (ClassInfo &class_info, IdentifierT name, int class_token_pos, Token::Value end_token) |
| |
| ExpressionT | ParseTemplateLiteral (ExpressionT tag, int start, bool tagged) |
| |
| ExpressionT | ParseSuperExpression () |
| |
| ExpressionT | ParseImportExpressions () |
| |
| ExpressionT | ParseNewTargetExpression () |
| |
| V8_INLINE void | ParseFormalParameter (FormalParametersT *parameters) |
| |
| void | ParseFormalParameterList (FormalParametersT *parameters) |
| |
| void | CheckArityRestrictions (int param_count, FunctionKind function_type, bool has_rest, int formals_start_pos, int formals_end_pos) |
| |
| void | ParseVariableDeclarations (VariableDeclarationContext var_context, DeclarationParsingResult *parsing_result, ZonePtrList< const AstRawString > *names) |
| |
| StatementT | ParseAsyncFunctionDeclaration (ZonePtrList< const AstRawString > *names, bool default_export) |
| |
| StatementT | ParseFunctionDeclaration () |
| |
| StatementT | ParseHoistableDeclaration (ZonePtrList< const AstRawString > *names, bool default_export) |
| |
| StatementT | ParseHoistableDeclaration (int pos, ParseFunctionFlags flags, ZonePtrList< const AstRawString > *names, bool default_export) |
| |
| StatementT | ParseClassDeclaration (ZonePtrList< const AstRawString > *names, bool default_export) |
| |
| StatementT | ParseNativeDeclaration () |
| |
| void | ParseFunctionBody (StatementListT *body, IdentifierT function_name, int pos, const FormalParametersT ¶meters, FunctionKind kind, FunctionSyntaxKind function_syntax_kind, FunctionBodyType body_type) |
| |
| void | CheckConflictingVarDeclarations (DeclarationScope *scope) |
| |
| V8_INLINE void | ParseStatementList (StatementListT *body, Token::Value end_token) |
| |
| StatementT | ParseStatementListItem () |
| |
| StatementT | ParseStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| StatementT | ParseStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, AllowLabelledFunctionStatement allow_function) |
| |
| BlockT | ParseBlock (ZonePtrList< const AstRawString > *labels, Scope *block_scope) |
| |
| BlockT | ParseBlock (ZonePtrList< const AstRawString > *labels) |
| |
| StatementT | ParseScopedStatement (ZonePtrList< const AstRawString > *labels) |
| |
| StatementT | ParseVariableStatement (VariableDeclarationContext var_context, ZonePtrList< const AstRawString > *names) |
| |
| ExpressionT | ParseV8Intrinsic () |
| |
| StatementT | ParseDebuggerStatement () |
| |
| StatementT | ParseExpressionOrLabelledStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, AllowLabelledFunctionStatement allow_function) |
| |
| StatementT | ParseIfStatement (ZonePtrList< const AstRawString > *labels) |
| |
| StatementT | ParseContinueStatement () |
| |
| StatementT | ParseBreakStatement (ZonePtrList< const AstRawString > *labels) |
| |
| StatementT | ParseReturnStatement () |
| |
| StatementT | ParseWithStatement (ZonePtrList< const AstRawString > *labels) |
| |
| StatementT | ParseDoWhileStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| StatementT | ParseWhileStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| StatementT | ParseThrowStatement () |
| |
| StatementT | ParseSwitchStatement (ZonePtrList< const AstRawString > *labels) |
| |
| V8_INLINE StatementT | ParseTryStatement () |
| |
| StatementT | ParseForStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| StatementT | ParseForEachStatementWithDeclarations (int stmt_pos, ForInfo *for_info, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, Scope *inner_block_scope) |
| |
| StatementT | ParseForEachStatementWithoutDeclarations (int stmt_pos, ExpressionT expression, int lhs_beg_pos, int lhs_end_pos, ForInfo *for_info, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| ForStatementT | ParseStandardForLoop (int stmt_pos, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels, ExpressionT *cond, StatementT *next, StatementT *body) |
| |
| StatementT | ParseStandardForLoopWithLexicalDeclarations (int stmt_pos, StatementT init, ForInfo *for_info, ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| StatementT | ParseForAwaitStatement (ZonePtrList< const AstRawString > *labels, ZonePtrList< const AstRawString > *own_labels) |
| |
| V8_INLINE bool | IsLet (const AstRawString *identifier) const |
| |
| bool | IsNextLetKeyword () |
| |
| ExpressionT | RewriteInvalidReferenceExpression (ExpressionT expression, int beg_pos, int end_pos, MessageTemplate message, bool early_error) |
| |
| bool | IsValidReferenceExpression (ExpressionT expression) |
| |
| bool | IsAssignableIdentifier (ExpressionT expression) |
| |
| FunctionKind | FunctionKindForImpl (SubFunctionKind sub_function_kind, ParseFunctionFlags flags) |
| |
| FunctionKind | FunctionKindFor (ParseFunctionFlags flags) |
| |
| FunctionKind | MethodKindFor (bool is_static, ParseFunctionFlags flags) |
| |
| bool | CheckPossibleEvalCall (ExpressionT expression, bool is_optional_call, Scope *scope) |
| |
| StatementT | BuildReturnStatement (ExpressionT expr, int pos, int end_pos=ReturnStatement::kFunctionLiteralReturnPosition) |
| |
| SourceTextModuleDescriptor * | module () const |
| |
| Scope * | scope () const |
| |
| V8_INLINE ExpressionScope * | expression_scope () const |
| |
| bool | MaybeParsingArrowhead () const |
| |
| std::vector< void * > * | pointer_buffer () |
| |
| std::vector< std::pair< VariableProxy *, int > > * | variable_buffer () |
| |
| void | set_has_module_in_scope_chain () |
| |
template<typename Impl>
class v8::internal::ParserBase< Impl >
Definition at line 201 of file parser-base.h.