Searched refs:Declarable (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/torque/ |
D | declarable.h | 25 class Declarable { 27 virtual ~Declarable() {} in ~Declarable() 62 explicit Declarable(Kind kind) : kind_(kind) {} in Declarable() function 69 static x* cast(Declarable* declarable) { \ 73 static const x* cast(const Declarable* declarable) { \ 78 static x* DynamicCast(Declarable* declarable) { \ 83 static const x* DynamicCast(const Declarable* declarable) { \ 89 class Value : public Declarable { 100 : Declarable(kind), type_(type), name_(name) {} in Value() 116 : Value(Declarable::kParameter, type, name), var_name_(var_name) {} in Parameter() [all …]
|
D | scope.h | 21 class Declarable; variable 51 void Declare(const std::string& name, Declarable* d) { in Declare() 57 Declarable* Lookup(const std::string& name) { in Lookup() 68 std::map<std::string, Declarable*> lookup_; 97 void Declare(const std::string& name, Declarable* d) { in Declare() 101 Declarable* Lookup(const std::string& name) { in Lookup() 105 Declarable* result = (*c)->Lookup(name); in Lookup() 112 Declarable* ShallowLookup(const std::string& name) { in ShallowLookup() 117 Declarable* LookupGlobalScope(const std::string& name) { in LookupGlobalScope()
|
D | declarations.cc | 60 Declarable* raw = Lookup(name); in LookupType() 71 Declarable* raw = LookupGlobalScope(name); in LookupGlobalType() 115 Declarable* d = Lookup(name); in LookupValue() 125 Declarable* d = Lookup(name); in LookupLabel() 136 Declarable* declarable = TryLookup(name); in TryLookupMacro() 162 Declarable* declarable = Lookup(name); in LookupBuiltin() 174 Declarable* declarable_list = Lookup(name); in LookupGeneric() 186 Declarable* declarable = Lookup(name); in LookupModuleConstant() 204 Declarable* maybe_parent_type = Lookup(*parent); in DeclareAbstractType() 239 Declare(name, std::unique_ptr<Declarable>(result)); in DeclareLabel() [all …]
|
D | declarations.h | 28 Declarable* TryLookup(const std::string& name) { return chain_.Lookup(name); } in TryLookup() 30 Declarable* Lookup(const std::string& name) { in Lookup() 31 Declarable* d = TryLookup(name); in Lookup() 40 Declarable* LookupGlobalScope(const std::string& name) { in LookupGlobalScope() 41 Declarable* d = chain_.LookupGlobalScope(name); in LookupGlobalScope() 64 Declarable* d = TryLookup(name); in TryLookupLabel() 147 void Declare(const std::string& name, std::unique_ptr<Declarable> d) { in Declare() 159 std::vector<std::unique_ptr<Declarable>> declarables_;
|
D | implementation-visitor.cc | 1198 Declarable* declarable = declarations()->Lookup(mangled_name); in LookupCall()
|