Home
last modified time | relevance | path

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

12

/external/v8/src/ast/
Dmodules.h14 class AstRawString; variable
31 void AddLocalExport(const AstRawString* export_name,
32 const AstRawString* local_name, Zone* zone, bool* ok);
36 void AddModuleRequest(const AstRawString* module_specifier, Zone* zone);
65 const AstRawString* LookupLocalExport(const AstRawString* export_name,
68 const ZoneList<const AstRawString*>& requested_modules() const { in requested_modules()
82 const AstRawString* export_name() const { in export_name()
84 return static_cast<const AstRawString*>(entry_->key); in export_name()
86 const AstRawString* local_name() const { in local_name()
88 return static_cast<const AstRawString*>(entry_->value); in local_name()
[all …]
Dmodules.cc13 void ModuleDescriptor::AddLocalExport(const AstRawString* export_name, in AddLocalExport()
14 const AstRawString* local_name, in AddLocalExport()
17 void* key = const_cast<AstRawString*>(export_name); in AddLocalExport()
36 p->value = const_cast<AstRawString*>(local_name); in AddLocalExport()
40 void ModuleDescriptor::AddModuleRequest(const AstRawString* module_specifier, in AddModuleRequest()
49 const AstRawString* ModuleDescriptor::LookupLocalExport( in LookupLocalExport()
50 const AstRawString* export_name, Zone* zone) { in LookupLocalExport()
53 const_cast<AstRawString*>(export_name), export_name->hash()); in LookupLocalExport()
56 return static_cast<const AstRawString*>(entry->value); in LookupLocalExport()
Dast-value-factory.h65 class AstRawString final : public AstString {
102 AstRawString(bool is_one_byte, const Vector<const byte>& literal_bytes, in AstRawString() function
106 AstRawString() in AstRawString() function
148 const AstRawString* AsString() const { in AsString()
164 bool EqualsString(const AstRawString* string) const { in EqualsString()
200 explicit AstValue(const AstRawString* s) : type_(STRING) { string_ = s; } in AstValue()
228 const AstRawString* string_;
232 ZoneList<const AstRawString*>* strings_;
299 const AstRawString* GetOneByteString(Vector<const uint8_t> literal) { in GetOneByteString()
302 const AstRawString* GetOneByteString(const char* string) { in GetOneByteString()
[all …]
Dast-value-factory.cc57 explicit AstRawStringInternalizationKey(const AstRawString* string) in AstRawStringInternalizationKey()
82 const AstRawString* string_;
86 void AstRawString::Internalize(Isolate* isolate) { in Internalize()
97 bool AstRawString::AsArrayIndex(uint32_t* index) const { in AsArrayIndex()
108 bool AstRawString::IsOneByteEqualTo(const char* data) const { in IsOneByteEqualTo()
207 AstRawString* AstValueFactory::GetOneByteStringInternal( in GetOneByteStringInternal()
215 AstRawString* AstValueFactory::GetTwoByteStringInternal( in GetTwoByteStringInternal()
223 const AstRawString* AstValueFactory::GetString(Handle<String> literal) { in GetString()
226 AstRawString* result = NULL; in GetString()
275 const AstValue* AstValueFactory::NewString(const AstRawString* string) { in NewString()
[all …]
Dscopes.h25 Variable* Declare(Scope* scope, const AstRawString* name, VariableMode mode,
30 Variable* Lookup(const AstRawString* name);
68 void Declare(const AstRawString* name,
105 void SetScopeName(const AstRawString* scope_name) { in SetScopeName()
131 Variable* LookupLocal(const AstRawString* name);
137 Variable* LookupFunctionVar(const AstRawString* name,
142 Variable* Lookup(const AstRawString* name);
159 const AstRawString* name, VariableMode mode,
164 Variable* DeclareLocal(const AstRawString* name, VariableMode mode,
173 Variable* DeclareDynamicGlobal(const AstRawString* name);
[all …]
Dprettyprinter.h46 void PrintLiteral(const AstRawString* value, bool quote);
85 void PrintLabels(ZoneList<const AstRawString*>* labels);
88 void PrintLiteral(const AstRawString* value, bool quote);
126 void PrintLabelsIndented(ZoneList<const AstRawString*>* labels);
Dvariables.h25 Variable(Scope* scope, const AstRawString* name, VariableMode mode, Kind kind,
45 const AstRawString* raw_name() const { return name_; } in raw_name()
166 const AstRawString* name_;
196 ClassVariable(Scope* scope, const AstRawString* name, VariableMode mode,
Dscopes.cc31 Variable* VariableMap::Declare(Scope* scope, const AstRawString* name, in Declare()
40 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->hash(), in Declare()
58 Variable* VariableMap::Lookup(const AstRawString* name) { in Lookup()
59 Entry* p = ZoneHashMap::Lookup(const_cast<AstRawString*>(name), name->hash()); in Lookup()
61 DCHECK(reinterpret_cast<const AstRawString*>(p->key) == name); in Lookup()
75 void SloppyBlockFunctionMap::Declare(const AstRawString* name, in Declare()
80 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->hash(), in Declare()
142 const AstRawString* catch_variable_name, in Scope()
412 Variable* Scope::LookupLocal(const AstRawString* name) { in LookupLocal()
470 Variable* Scope::LookupFunctionVar(const AstRawString* name, in LookupFunctionVar()
[all …]
Dast.h415 ZoneList<const AstRawString*>* labels() const { return labels_; } in labels()
434 BreakableStatement(Zone* zone, ZoneList<const AstRawString*>* labels, in BreakableStatement()
452 ZoneList<const AstRawString*>* labels_;
482 Block(Zone* zone, ZoneList<const AstRawString*>* labels, int capacity, in Block()
612 const AstRawString* import_name() const { return import_name_; } in DECLARE_NODE_TYPE()
613 const AstRawString* module_specifier() const { return module_specifier_; } in module_specifier()
614 void set_module_specifier(const AstRawString* module_specifier) { in set_module_specifier()
624 const AstRawString* import_name, in ImportDeclaration()
625 const AstRawString* module_specifier, Scope* scope, int pos) in ImportDeclaration()
631 const AstRawString* import_name_;
[all …]
Dvariables.cc33 Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode, in Variable()
Dprettyprinter.cc460 void CallPrinter::PrintLiteral(const AstRawString* value, bool quote) { in PrintLiteral()
565 ZoneList<const AstRawString*>* labels = node->target()->labels(); in VisitContinueStatement()
577 ZoneList<const AstRawString*>* labels = node->target()->labels(); in VisitBreakStatement()
1016 void PrettyPrinter::PrintLabels(ZoneList<const AstRawString*>* labels) { in PrintLabels()
1074 void PrettyPrinter::PrintLiteral(const AstRawString* value, bool quote) { in PrintLiteral()
1179 void AstPrinter::PrintLabelsIndented(ZoneList<const AstRawString*>* labels) { in PrintLabelsIndented()
Dast.cc80 VariableProxy::VariableProxy(Zone* zone, const AstRawString* name, in VariableProxy()
/external/v8/src/parsing/
Dparser.h300 Parameter(const AstRawString* name, Expression* pattern, in Parameter()
308 const AstRawString* name;
339 typedef const AstRawString* Identifier;
359 bool IsEval(const AstRawString* identifier) const;
360 bool IsArguments(const AstRawString* identifier) const;
361 bool IsEvalOrArguments(const AstRawString* identifier) const;
362 bool IsUndefined(const AstRawString* identifier) const;
363 V8_INLINE bool IsFutureStrictReserved(const AstRawString* identifier) const;
370 bool IsPrototype(const AstRawString* identifier) const;
372 bool IsConstructor(const AstRawString* identifier) const;
[all …]
Dfunc-name-inferrer.h14 class AstRawString; variable
54 void PushEnclosingName(const AstRawString* name);
57 void PushLiteralName(const AstRawString* name);
59 void PushVariableName(const AstRawString* name);
89 Name(const AstRawString* name, NameType type) : name(name), type(type) {} in Name()
90 const AstRawString* name;
Dfunc-name-inferrer.cc24 void FuncNameInferrer::PushEnclosingName(const AstRawString* name) { in PushEnclosingName()
34 void FuncNameInferrer::PushLiteralName(const AstRawString* name) { in PushLiteralName()
41 void FuncNameInferrer::PushVariableName(const AstRawString* name) { in PushVariableName()
62 const AstRawString* name = names_stack_.at(pos).name; in MakeNameFromStackHelper()
Dparser.cc188 const AstRawString* name = ast_value_factory()->empty_string(); in DefaultConstructor()
316 bool ParserTraits::IsEval(const AstRawString* identifier) const { in IsEval()
321 bool ParserTraits::IsArguments(const AstRawString* identifier) const { in IsArguments()
326 bool ParserTraits::IsEvalOrArguments(const AstRawString* identifier) const { in IsEvalOrArguments()
330 bool ParserTraits::IsUndefined(const AstRawString* identifier) const { in IsUndefined()
334 bool ParserTraits::IsPrototype(const AstRawString* identifier) const { in IsPrototype()
339 bool ParserTraits::IsConstructor(const AstRawString* identifier) const { in IsConstructor()
502 const AstRawString* arg, in NewThrowSyntaxError()
509 const AstRawString* arg, int pos) { in NewThrowTypeError()
516 const AstRawString* arg, int pos) { in NewThrowError()
[all …]
Dscanner.h25 class AstRawString; variable
379 const AstRawString* CurrentSymbol(AstValueFactory* ast_value_factory);
380 const AstRawString* NextSymbol(AstValueFactory* ast_value_factory);
381 const AstRawString* CurrentRawSymbol(AstValueFactory* ast_value_factory);
449 bool IdentifierIsFutureStrictReserved(const AstRawString* string) const;
Dscanner.cc1223 const AstRawString* string) const { in IdentifierIsFutureStrictReserved()
1434 const AstRawString* Scanner::CurrentSymbol(AstValueFactory* ast_value_factory) { in CurrentSymbol()
1442 const AstRawString* Scanner::NextSymbol(AstValueFactory* ast_value_factory) { in NextSymbol()
1450 const AstRawString* Scanner::CurrentRawSymbol( in CurrentRawSymbol()
Dpattern-rewriter.cc17 ZoneList<const AstRawString*>* names, bool* ok) { in DeclareAndInitializeVariables()
144 const AstRawString* name = pattern->raw_name(); in VisitVariableProxy()
Dpreparser.h532 PreParserExpression NewCallRuntime(const AstRawString* name, in NewCallRuntime()
/external/v8/src/
Dpending-compilation-error-handler.h16 class AstRawString; variable
49 const AstRawString* arg,
84 const AstRawString* arg_;
/external/v8/test/cctest/
Dexpression-type-collector.h20 const AstRawString* name;
Dtest-parsing.cc3354 const i::AstRawString* name = avf.GetOneByteString("result"); in TEST()
3411 const i::AstRawString* name_x = avf.GetOneByteString("x"); in TEST()
3551 const i::AstRawString* var_name = in TEST()
5777 const i::AstRawString* export_name = in TEST()
5779 const i::AstRawString* local_name = in TEST()
5797 const i::ZoneList<const i::AstRawString*>& requested_modules = in TEST()
/external/v8/test/cctest/compiler/
Dtest-loop-assignment-analysis.cc50 const i::AstRawString* name = factory->GetOneByteString(var_name); in CheckLoopAssignedCount()
/external/v8/src/wasm/
Dasm-wasm-builder.cc441 const AstRawString* raw_name = name->AsRawPropertyName(); in VisitObjectLiteral()

12