|
enum | Kind {
kNamespace
, kTorqueMacro
, kExternMacro
, kMethod
,
kBuiltin
, kRuntimeFunction
, kIntrinsic
, kGenericCallable
,
kGenericType
, kTypeAlias
, kExternConstant
, kNamespaceConstant
} |
|
const std::string & | ExternalName () const |
|
const std::string & | ReadableName () const |
|
const Signature & | signature () const |
|
bool | IsTransitioning () const |
|
const NameVector & | parameter_names () const |
|
bool | HasReturnValue () const |
|
void | IncrementReturns () |
|
bool | HasReturns () const |
|
std::optional< Statement * > | body () const |
|
bool | IsExternal () const |
|
virtual bool | ShouldBeInlined (OutputType output_type) const |
|
bool | ShouldGenerateExternalCode (OutputType output_type) const |
|
virtual std::string | CCName () const |
|
virtual std::string | CCDebugName () const |
|
| Scope (Declarable::Kind kind) |
|
std::vector< Declarable * > | LookupShallow (const QualifiedName &name) |
|
std::vector< Declarable * > | Lookup (const QualifiedName &name) |
|
template<class T > |
T * | AddDeclarable (const std::string &name, T *declarable) |
|
const SpecializationRequester & | GetSpecializationRequester () const |
|
void | SetSpecializationRequester (const SpecializationRequester &requester) |
|
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) |
|
static std::string | PrefixNameForCCOutput (const std::string &name) |
|
static std::string | PrefixNameForCCDebugOutput (const std::string &name) |
|
| Callable (Declarable::Kind kind, std::string external_name, std::string readable_name, Signature signature, std::optional< Statement * > body) |
|
| Declarable (Kind kind) |
|
Definition at line 535 of file declarable.h.