Home
last modified time | relevance | path

Searched refs:AstRawString (Results 1 – 25 of 32) sorted by relevance

12

/external/v8/src/ast/
Dast-value-factory.cc59 explicit AstRawStringInternalizationKey(const AstRawString* string) in AstRawStringInternalizationKey()
79 const AstRawString* string_;
82 void AstRawString::Internalize(Isolate* isolate) { in Internalize()
92 bool AstRawString::AsArrayIndex(uint32_t* index) const { in AsArrayIndex()
105 bool AstRawString::IsOneByteEqualTo(const char* data) const { in IsOneByteEqualTo()
115 uint16_t AstRawString::FirstCharacter() const { in FirstCharacter()
121 bool AstRawString::Compare(void* a, void* b) { in Compare()
122 const AstRawString* lhs = static_cast<AstRawString*>(a); in Compare()
123 const AstRawString* rhs = static_cast<AstRawString*>(b); in Compare()
170 std::forward_list<const AstRawString*> AstConsString::ToRawStrings() const { in ToRawStrings()
[all …]
Dmodules.h15 class AstRawString; variable
35 void AddImport(const AstRawString* import_name,
36 const AstRawString* local_name,
37 const AstRawString* module_request,
42 void AddStarImport(const AstRawString* local_name,
43 const AstRawString* module_request,
50 void AddEmptyImport(const AstRawString* module_request,
59 const AstRawString* local_name, const AstRawString* export_name,
64 void AddExport(const AstRawString* export_name,
65 const AstRawString* import_name,
[all …]
Dast-value-factory.h48 class AstRawString final : public ZoneObject {
86 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, in AstRawString() function
92 AstRawString* next() { in next()
96 AstRawString** next_location() { in next_location()
113 AstRawString* next_;
130 AstConsString* AddString(Zone* zone, const AstRawString* s) { in AddString()
156 std::forward_list<const AstRawString*> ToRawStrings() const;
175 const AstRawString* string;
246 const AstRawString* name##_string() const { return name##_string_; }
260 #define F(name, str) AstRawString* name##_string_;
[all …]
Dscopes.h20 class AstRawString; variable
36 Zone* zone, Scope* scope, const AstRawString* name, VariableMode mode,
44 Variable* DeclareName(Zone* zone, const AstRawString* name,
47 Variable* Lookup(const AstRawString* name);
74 void Declare(Zone* zone, const AstRawString* name, Scope* scope,
103 void SetScopeName(const AstRawString* scope_name) { in NON_EXPORTED_BASE()
177 Variable* LookupLocal(const AstRawString* name) { in NON_EXPORTED_BASE()
183 Variable* LookupInScopeInfo(const AstRawString* name); in NON_EXPORTED_BASE()
187 Variable* Lookup(const AstRawString* name); in NON_EXPORTED_BASE()
191 Variable* DeclareLocal(const AstRawString* name, VariableMode mode, in NON_EXPORTED_BASE()
[all …]
Dmodules.cc16 const AstRawString* lhs, const AstRawString* rhs) const { in operator ()()
30 void ModuleDescriptor::AddImport(const AstRawString* import_name, in AddImport()
31 const AstRawString* local_name, in AddImport()
32 const AstRawString* module_request, in AddImport()
43 void ModuleDescriptor::AddStarImport(const AstRawString* local_name, in AddStarImport()
44 const AstRawString* module_request, in AddStarImport()
54 void ModuleDescriptor::AddEmptyImport(const AstRawString* module_request, in AddEmptyImport()
61 const AstRawString* local_name, const AstRawString* export_name, in AddExport()
69 void ModuleDescriptor::AddExport(const AstRawString* import_name, in AddExport()
70 const AstRawString* export_name, in AddExport()
[all …]
Dprettyprinter.h61 void PrintLiteral(const AstRawString* value, bool quote);
94 void PrintLabels(ZonePtrList<const AstRawString>* labels);
95 void PrintLiteral(const AstRawString* value, bool quote);
107 void PrintLiteralIndented(const char* info, const AstRawString* value,
112 const AstRawString* value);
113 void PrintLabelsIndented(ZonePtrList<const AstRawString>* labels,
Dast.h283 ZonePtrList<const AstRawString>* labels() const;
310 inline ZonePtrList<const AstRawString>* labels() const;
332 Block(Zone* zone, ZonePtrList<const AstRawString>* labels, int capacity, in Block()
347 LabeledBlock(Zone* zone, ZonePtrList<const AstRawString>* labels, in LabeledBlock()
355 ZonePtrList<const AstRawString>* labels_;
358 inline ZonePtrList<const AstRawString>* Block::labels() const { in labels()
465 ZonePtrList<const AstRawString>* labels() const { return labels_; } in labels()
475 ZonePtrList<const AstRawString>* own_labels() const { return own_labels_; } in own_labels()
478 IterationStatement(ZonePtrList<const AstRawString>* labels, in IterationStatement()
479 ZonePtrList<const AstRawString>* own_labels, int pos, in IterationStatement()
[all …]
Dscopes.cc50 const AstRawString* name, VariableMode mode, in Declare()
59 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in Declare()
71 Variable* VariableMap::DeclareName(Zone* zone, const AstRawString* name, in DeclareName()
74 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in DeclareName()
86 const AstRawString* name = var->raw_name(); in Remove()
87 ZoneHashMap::Remove(const_cast<AstRawString*>(name), name->Hash()); in Remove()
91 const AstRawString* name = var->raw_name(); in Add()
93 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in Add()
100 Variable* VariableMap::Lookup(const AstRawString* name) { in Lookup()
101 Entry* p = ZoneHashMap::Lookup(const_cast<AstRawString*>(name), name->Hash()); in Lookup()
[all …]
Dvariables.h21 Variable(Scope* scope, const AstRawString* name, VariableMode mode,
56 const AstRawString* raw_name() const { return name_; } in raw_name()
188 const AstRawString* name_;
Dprettyprinter.cc540 void CallPrinter::PrintLiteral(const AstRawString* value, bool quote) { in PrintLiteral()
593 void AstPrinter::PrintLabels(ZonePtrList<const AstRawString>* labels) { in PrintLabels()
643 void AstPrinter::PrintLiteral(const AstRawString* value, bool quote) { in PrintLiteral()
659 std::forward_list<const AstRawString*> strings = value->ToRawStrings(); in PrintLiteral()
660 for (const AstRawString* string : strings) { in PrintLiteral()
723 const AstRawString* value, bool quote) { in PrintLiteralIndented()
739 const AstRawString* value) { in PrintLiteralWithModeIndented()
752 void AstPrinter::PrintLabelsIndented(ZonePtrList<const AstRawString>* labels, in PrintLabelsIndented()
1364 const AstRawString* string = node->string_parts()->first(); in VisitTemplateLiteral()
/external/v8/src/parsing/
Dparser.h86 Parameter(const AstRawString* name, Expression* pattern, in Parameter()
95 const AstRawString* name;
121 typedef const AstRawString* Identifier;
208 Variable* NewTemporary(const AstRawString* name) {
220 const AstRawString* raw_name);
232 ZonePtrList<const AstRawString>* PrepareWrappedArguments(Isolate* isolate,
261 const AstRawString* ParseModuleSpecifier(bool* ok);
266 const AstRawString* export_name;
267 const AstRawString* local_name;
273 const AstRawString* import_name;
[all …]
Dfunc-name-inferrer.h15 class AstRawString; variable
56 void PushEnclosingName(const AstRawString* name);
59 void PushLiteralName(const AstRawString* name);
61 void PushVariableName(const AstRawString* name);
93 Name(const AstRawString* name, NameType type) : name(name), type(type) {} in Name()
94 const AstRawString* name;
Dparser.cc82 FunctionLiteral* Parser::DefaultConstructor(const AstRawString* name, in DefaultConstructor()
285 const AstRawString* arg, int pos) { in NewThrowError()
353 Expression* Parser::NewV8Intrinsic(const AstRawString* name, in NewV8Intrinsic()
645 ZonePtrList<const AstRawString>* Parser::PrepareWrappedArguments( in PrepareWrappedArguments()
651 ZonePtrList<const AstRawString>* arguments_for_wrapped_function = in PrepareWrappedArguments()
652 new (zone) ZonePtrList<const AstRawString>(arguments_length, zone); in PrepareWrappedArguments()
654 const AstRawString* argument_string = ast_value_factory()->GetString( in PrepareWrappedArguments()
672 const AstRawString* function_name = nullptr; in ParseWrapped()
675 ZonePtrList<const AstRawString>* arguments_for_wrapped_function = in ParseWrapped()
745 const AstRawString* raw_name) { in DoParseFunction()
[all …]
Dpreparser.h82 const AstRawString* string_;
752 ZonePtrList<const AstRawString>* labels = nullptr) {
793 ZonePtrList<const AstRawString>* labels, in NewDoWhileStatement()
794 ZonePtrList<const AstRawString>* own_labels, int pos) { in NewDoWhileStatement()
799 ZonePtrList<const AstRawString>* labels, in NewWhileStatement()
800 ZonePtrList<const AstRawString>* own_labels, int pos) { in NewWhileStatement()
804 PreParserStatement NewSwitchStatement(ZonePtrList<const AstRawString>* labels, in NewSwitchStatement()
816 ZonePtrList<const AstRawString>* labels, in NewForStatement()
817 ZonePtrList<const AstRawString>* own_labels, int pos) { in NewForStatement()
823 ZonePtrList<const AstRawString>* labels, in NewForEachStatement()
[all …]
Dfunc-name-inferrer.cc22 void FuncNameInferrer::PushEnclosingName(const AstRawString* name) { in PushEnclosingName()
32 void FuncNameInferrer::PushLiteralName(const AstRawString* name) { in PushLiteralName()
39 void FuncNameInferrer::PushVariableName(const AstRawString* name) { in PushVariableName()
Dparser-base.h560 ZonePtrList<const AstRawString> bound_names;
570 ZonePtrList<const AstRawString> bound_names;
612 const AstRawString* ClassFieldVariableName(AstValueFactory* ast_value_factory, in ClassFieldVariableName()
1194 ZonePtrList<const AstRawString>* names,
1197 ZonePtrList<const AstRawString>* names, bool default_export, bool* ok);
1199 StatementT ParseHoistableDeclaration(ZonePtrList<const AstRawString>* names,
1202 ZonePtrList<const AstRawString>* names,
1204 StatementT ParseClassDeclaration(ZonePtrList<const AstRawString>* names,
1236 StatementT ParseStatement(ZonePtrList<const AstRawString>* labels, in ParseStatement()
1237 ZonePtrList<const AstRawString>* own_labels, in ParseStatement()
[all …]
Dparse-info.h25 class AstRawString; variable
123 const AstRawString* function_name() const { return function_name_; } in function_name()
124 void set_function_name(const AstRawString* function_name) { in set_function_name()
274 const AstRawString* function_name_;
Dpreparser.cc83 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol()
119 const AstRawString* function_name, FunctionKind kind, in PreParseFunction()
270 ZonePtrList<const AstRawString>* arguments_for_wrapped_function, bool* ok) { in ParseFunctionLiteral()
362 const AstRawString* string = function_name.string_; in ParseFunctionLiteral()
431 ZonePtrList<const AstRawString>* names, bool* ok) { in DeclareAndInitializeVariables()
Dscanner.h25 class AstRawString; variable
273 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory) const;
274 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory) const;
275 const AstRawString* CurrentRawSymbol(
Dpattern-rewriter.cc32 ZonePtrList<const AstRawString>* names, bool* ok);
111 ZonePtrList<const AstRawString>* names_;
122 ZonePtrList<const AstRawString>* names, bool* ok) { in DeclareAndInitializeVariables()
143 ZonePtrList<const AstRawString>* names, bool* ok) { in DeclareAndInitializeVariables()
194 const AstRawString* name = pattern->raw_name(); in VisitVariableProxy()
/external/v8/src/interpreter/
Dbytecode-array-builder.h75 BytecodeArrayBuilder& LoadLiteral(const AstRawString* raw_string);
87 BytecodeArrayBuilder& LoadGlobal(const AstRawString* name, int feedback_slot,
89 BytecodeArrayBuilder& StoreGlobal(const AstRawString* name,
121 const AstRawString* name,
145 const AstRawString* name,
157 const AstRawString* name,
184 BytecodeArrayBuilder& LoadLookupSlot(const AstRawString* name,
190 BytecodeArrayBuilder& LoadLookupContextSlot(const AstRawString* name,
197 BytecodeArrayBuilder& LoadLookupGlobalSlot(const AstRawString* name,
203 const AstRawString* name, LanguageMode language_mode,
[all …]
Dconstant-array-builder.h18 class AstRawString; variable
68 size_t Insert(const AstRawString* raw_string);
117 explicit Entry(const AstRawString* raw_string) in Entry()
161 const AstRawString* raw_string_;
Dbytecode-generator.h124 const AstRawString* name);
126 const AstRawString* name);
177 void BuildCallIteratorMethod(Register iterator, const AstRawString* method,
279 const AstRawString* name);
281 const AstRawString* name);
Dbytecode-array-builder.cc592 const AstRawString* raw_string) { in LoadLiteral()
691 BytecodeArrayBuilder& BytecodeArrayBuilder::LoadGlobal(const AstRawString* name, in LoadGlobal()
709 const AstRawString* name, int feedback_slot) { in StoreGlobal()
746 const AstRawString* name, TypeofMode typeof_mode) { in LoadLookupSlot()
758 const AstRawString* name, TypeofMode typeof_mode, int slot_index, in LoadLookupContextSlot()
771 const AstRawString* name, TypeofMode typeof_mode, int feedback_slot, in LoadLookupGlobalSlot()
784 const AstRawString* name, LanguageMode language_mode, in StoreLookupSlot()
794 Register object, const AstRawString* name, int feedback_slot) { in LoadNamedProperty()
844 Register object, const AstRawString* name, int feedback_slot, in StoreNamedProperty()
851 Register object, const AstRawString* name, int feedback_slot) { in StoreNamedOwnProperty()
[all …]
/external/v8/src/
Dpending-compilation-error-handler.h18 class AstRawString; variable
39 const AstRawString* arg,
76 MessageTemplate::Template message, const AstRawString* arg, in MessageDetails()
92 const AstRawString* arg_;

12