• Home
  • Raw
  • Download

Lines Matching refs:Declarable

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()
130 : Value(Declarable::kModuleConstant, type, name) {} in ModuleConstant()
151 : Value(Declarable::kVariable, type, name), in Variable()
163 class Label : public Declarable {
179 : Declarable(Declarable::kLabel), in Label()
200 : Value(Declarable::kExternConstant, type, name), value_(value) {} in ExternConstant()
205 class Callable : public Declarable {
207 static Callable* cast(Declarable* declarable) { in cast()
212 static const Callable* cast(const Declarable* declarable) { in cast()
230 Callable(Declarable::Kind kind, const std::string& name, in Callable()
232 : Declarable(kind), in Callable()
253 : Callable(Declarable::kMacro, name, signature, generic) { in Macro()
260 class MacroList : public Declarable {
271 MacroList() : Declarable(Declarable::kMacroList) {} in MacroList()
290 : Callable(Declarable::kBuiltin, name, signature, generic), in Builtin()
306 : Callable(Declarable::kRuntimeFunction, name, signature, generic) {} in RuntimeFunction()
309 class Generic : public Declarable {
321 : Declarable(Declarable::kGeneric), in Generic()
331 class GenericList : public Declarable {
342 GenericList() : Declarable(Declarable::kGenericList) {} in GenericList()
349 class TypeAlias : public Declarable {
358 : Declarable(Declarable::kTypeAlias), type_(type) {} in TypeAlias()