Lines Matching defs:const

57     Expression* initializer() const {
62 inline bool is_rest() const { return initializer_and_is_rest.GetPayload(); }
65 bool is_simple() const {
70 const AstRawString* name() const {
76 Parameter* const* next() const { return &next_parameter; }
79 void set_strict_parameter_error(const Scanner::Location& loc,
85 bool has_duplicate() const { return duplicate_loc.IsValid(); }
86 void ValidateDuplicate(Parser* parser) const;
87 void ValidateStrictMode(Parser* parser) const;
115 using Identifier = const AstRawString*;
188 bool AllowsLazyParsingWithoutUnresolvedVariables() const {
194 bool parse_lazily() const { return mode_ == PARSE_LAZILY; }
217 Variable* NewTemporary(const AstRawString* name) {
238 const AstRawString* raw_name);
243 int function_literal_id, const AstRawString* raw_name);
263 ZonePtrList<const AstRawString>* PrepareWrappedArguments(Isolate* isolate,
281 const AstRawString* ParseModuleSpecifier();
287 const AstRawString* export_name;
288 const AstRawString* local_name;
295 const AstRawString* import_name;
296 const AstRawString* local_name;
297 const Scanner::Location location;
298 NamedImport(const AstRawString* import_name, const AstRawString* local_name,
304 const AstRawString* ParseExportSpecifierName();
305 ZonePtrList<const NamedImport>* ParseNamedImports(int pos);
313 void ReportVarRedeclarationIn(const AstRawString* name, Scope* scope);
315 const SourceRange& catch_range,
317 const SourceRange& finally_range,
318 const CatchInfo& catch_info, int pos);
323 void DeclareFunctionNameVar(const AstRawString* function_name,
327 Statement* DeclareFunction(const AstRawString* variable_name,
330 ZonePtrList<const AstRawString>* names);
331 Variable* CreateSyntheticContextVariable(const AstRawString* synthetic_name);
334 const AstRawString* name);
335 FunctionLiteral* CreateInitializerFunction(const char* name,
339 bool IdentifierEquals(const AstRawString* identifier,
340 const AstRawString* other) {
344 Statement* DeclareClass(const AstRawString* variable_name, Expression* value,
345 ZonePtrList<const AstRawString>* names,
347 void DeclareClassVariable(ClassScope* scope, const AstRawString* name,
352 const AstRawString* property_name,
356 void DeclarePublicClassMethod(const AstRawString* class_name,
362 void DeclareClassProperty(ClassScope* scope, const AstRawString* class_name,
366 const AstRawString* property_name, bool is_static,
371 const AstRawString* name,
373 Statement* DeclareNative(const AstRawString* name, int pos);
385 const DeclarationParsingResult::Declaration* declaration);
387 Block* RewriteForVarInLegacy(const ForInfo& for_info);
390 Block* CreateForEachStatementTDZ(Block* init_block, const ForInfo& for_info);
394 Statement* body, Scope* inner_scope, const ForInfo& for_info);
397 const AstRawString* name, Scanner::Location function_name_location,
401 ZonePtrList<const AstRawString>* arguments_for_wrapped_function);
415 void DeclareUnboundVariable(const AstRawString* name, VariableMode mode,
418 VariableProxy* DeclareBoundVariable(const AstRawString* name,
424 Variable* DeclareVariable(const AstRawString* name, VariableKind kind,
428 void Declare(Declaration* declaration, const AstRawString* name,
434 FunctionLiteral* DefaultConstructor(const AstRawString* name, bool call_super,
446 bool SkipFunction(const AstRawString* function_name, FunctionKind kind,
453 const ParserFormalParameters& parameters);
458 ScopedPtrList<Statement>* body, const AstRawString* function_name,
463 ZonePtrList<const AstRawString>* arguments_for_wrapped_function);
472 const ZonePtrList<const AstRawString>* cooked() const { return &cooked_; }
473 const ZonePtrList<const AstRawString>* raw() const { return &raw_; }
474 const ZonePtrList<Expression>* expressions() const { return &expressions_; }
475 int position() const { return pos_; }
477 void AddTemplateSpan(const AstRawString* cooked, const AstRawString* raw,
489 ZonePtrList<const AstRawString> cooked_;
490 ZonePtrList<const AstRawString> raw_;
512 const ScopedPtrList<Expression>& list);
527 MessageTemplate message, const AstRawString* arg,
538 void SetFunctionName(Expression* value, const AstRawString* name,
539 const AstRawString* prefix = nullptr);
542 V8_INLINE bool IsEval(const AstRawString* identifier) const {
546 V8_INLINE bool IsAsync(const AstRawString* identifier) const {
550 V8_INLINE bool IsArguments(const AstRawString* identifier) const {
554 V8_INLINE bool IsEvalOrArguments(const AstRawString* identifier) const {
584 V8_INLINE static const AstRawString* AsIdentifier(Expression* expression) {
593 V8_INLINE bool IsConstructor(const AstRawString* identifier) const {
597 V8_INLINE bool IsName(const AstRawString* identifier) const {
606 V8_INLINE v8::Extension* extension() const { return info_->extension(); }
608 V8_INLINE bool ParsingExtension() const { return extension() != nullptr; }
610 V8_INLINE bool IsNative(Expression* expr) const {
617 V8_INLINE static bool IsArrayIndex(const AstRawString* string,
626 const AstRawString* arg = nullptr) const {
634 V8_INLINE void GetDefaultStrings(const AstRawString** default_string,
635 const AstRawString** dot_default_string) {
642 V8_INLINE void PushLiteralName(const AstRawString* id) {
646 V8_INLINE void PushVariableName(const AstRawString* id) {
658 V8_INLINE void PushEnclosingName(const AstRawString* name) {
689 int pos, const SourceRange& range);
710 const AstRawString* arg, int pos) {
717 const AstRawString* arg, int pos) {
725 const AstRawString* GetRawNameFromIdentifier(const AstRawString* arg) {
729 const AstRawString* PreParserIdentifierToAstRawString(
730 const PreParserIdentifier& arg) {
768 V8_INLINE const AstRawString* EmptyIdentifierString() const {
773 V8_INLINE const AstRawString* GetSymbol() const {
774 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory());
779 V8_INLINE const AstRawString* GetIdentifier() const { return GetSymbol(); }
781 V8_INLINE const AstRawString* GetNextSymbol() const {
785 V8_INLINE const AstRawString* GetNumberAsSymbol() const {
788 const char* string =
793 const AstRawString* GetBigIntAsSymbol();
813 PrivateNameScopeIterator* private_name_scope, const AstRawString* name,
822 const AstRawString* name, int start_position,
830 V8_INLINE void DeclareIdentifier(const AstRawString* name,
836 const AstRawString* name) {
840 V8_INLINE ZonePtrList<Expression>* NewExpressionList(int size) const {
844 int size) const {
848 int size) const {
852 int size) const {
855 V8_INLINE ZonePtrList<Statement>* NewStatementList(int size) const {
859 Expression* NewV8Intrinsic(const AstRawString* name,
860 const ScopedPtrList<Expression>& args, int pos);
863 const Runtime::Function* function, const ScopedPtrList<Expression>& args,
905 const Scanner::Location& params_loc);
907 Expression* ExpressionListToExpression(const ScopedPtrList<Expression>& args);
910 const AstRawString* name,
911 const AstRawString* prefix = nullptr);
913 const AstRawString* name,
914 const AstRawString* prefix = nullptr);
925 V8_INLINE bool ParsingDynamicFunctionDeclaration() const {
945 const SourceRange& range) {
963 const SourceRange& body_range) {
970 const SourceRange& then_range,
971 const SourceRange& else_range) {
984 Expression* node, const SourceRange& right_range) {
1000 const SourceRange& then_range,
1001 const SourceRange& else_range) {
1009 IterationStatement* node, const SourceRange& body_range) {
1017 const SourceRange& right_range) {
1049 TryCatchStatement* node, const SourceRange& body_range) {
1056 TryFinallyStatement* node, const SourceRange& body_range) {
1064 const AstRawString* NextInternalNamespaceExportName();
1066 ParseInfo* info() const { return info_; }