|
using | iterator |
|
enum | Kind {
kNamespace
, kTorqueMacro
, kExternMacro
, kMethod
,
kBuiltin
, kRuntimeFunction
, kIntrinsic
, kGenericCallable
,
kGenericType
, kTypeAlias
, kExternConstant
, kNamespaceConstant
} |
|
void | AddSpecialization (const TypeVector &type_arguments, const Type *specialization) |
|
std::optional< const Type * > | GetSpecialization (const TypeVector &type_arguments) const |
|
iterator | begin () const |
|
iterator | end () const |
|
const std::string & | name () const |
|
auto | declaration () const |
|
const GenericParameters & | generic_parameters () const |
|
const std::vector< TypeConstraint > & | Constraints () |
|
virtual | ~Declarable ()=default |
|
Kind | kind () const |
|
bool | IsNamespace () const |
|
bool | IsMacro () const |
|
bool | IsTorqueMacro () const |
|
bool | IsMethod () const |
|
bool | IsExternMacro () const |
|
bool | IsIntrinsic () const |
|
bool | IsBuiltin () const |
|
bool | IsRuntimeFunction () const |
|
bool | IsGenericCallable () const |
|
bool | IsGenericType () const |
|
bool | IsTypeAlias () const |
|
bool | IsExternConstant () const |
|
bool | IsNamespaceConstant () const |
|
bool | IsValue () const |
|
bool | IsScope () const |
|
bool | IsCallable () const |
|
virtual const char * | type_name () const |
|
Scope * | ParentScope () const |
|
SourcePosition | Position () const |
|
void | SetPosition (const SourcePosition &position) |
|
SourcePosition | IdentifierPosition () const |
|
void | SetIdentifierPosition (const SourcePosition &position) |
|
bool | IsUserDefined () const |
|
void | SetIsUserDefined (bool is_user_defined) |
|
| GenericDeclarable (Declarable::Kind kind, const std::string &name, GenericTypeDeclaration *generic_declaration) |
|
| Declarable (Kind kind) |
|
Definition at line 656 of file declarable.h.