|
static std::vector< Declarable * > | TryLookup (const QualifiedName &name) |
|
static std::vector< Declarable * > | TryLookupShallow (const QualifiedName &name) |
|
template<class T > |
static std::vector< T * > | TryLookup (const QualifiedName &name) |
|
static std::vector< Declarable * > | Lookup (const QualifiedName &name) |
|
static std::vector< Declarable * > | LookupGlobalScope (const QualifiedName &name) |
|
static const TypeAlias * | LookupTypeAlias (const QualifiedName &name) |
|
static const Type * | LookupType (const QualifiedName &name) |
|
static const Type * | LookupType (const Identifier *identifier) |
|
static std::optional< const Type * > | TryLookupType (const QualifiedName &name) |
|
static const Type * | LookupGlobalType (const QualifiedName &name) |
|
static Builtin * | FindSomeInternalBuiltinWithType (const BuiltinPointerType *type) |
|
static Value * | LookupValue (const QualifiedName &name) |
|
static Macro * | TryLookupMacro (const std::string &name, const TypeVector &types) |
|
static std::optional< Builtin * > | TryLookupBuiltin (const QualifiedName &name) |
|
static std::vector< GenericCallable * > | LookupGeneric (const std::string &name) |
|
static GenericCallable * | LookupUniqueGeneric (const QualifiedName &name) |
|
static GenericType * | LookupUniqueGenericType (const QualifiedName &name) |
|
static GenericType * | LookupGlobalUniqueGenericType (const std::string &name) |
|
static std::optional< GenericType * > | TryLookupGenericType (const QualifiedName &name) |
|
static Namespace * | DeclareNamespace (const std::string &name) |
|
static TypeAlias * | DeclareType (const Identifier *name, const Type *type) |
|
static TypeAlias * | PredeclareTypeAlias (const Identifier *name, TypeDeclaration *type, bool redeclaration) |
|
static TorqueMacro * | CreateTorqueMacro (std::string external_name, std::string readable_name, bool exported_to_csa, Signature signature, std::optional< Statement * > body, bool is_user_defined) |
|
static ExternMacro * | CreateExternMacro (std::string name, std::string external_assembler_name, Signature signature) |
|
static Macro * | DeclareMacro (const std::string &name, bool accessible_from_csa, std::optional< std::string > external_assembler_name, const Signature &signature, std::optional< Statement * > body, std::optional< std::string > op={}, bool is_user_defined=true) |
|
static Method * | CreateMethod (AggregateType *class_type, const std::string &name, Signature signature, Statement *body) |
|
static Intrinsic * | CreateIntrinsic (const std::string &name, const Signature &signature) |
|
static Intrinsic * | DeclareIntrinsic (const std::string &name, const Signature &signature) |
|
static Builtin * | CreateBuiltin (std::string external_name, std::string readable_name, Builtin::Kind kind, Builtin::Flags flags, Signature signature, std::optional< std::string > use_counter_name, std::optional< Statement * > body) |
|
static RuntimeFunction * | DeclareRuntimeFunction (const std::string &name, const Signature &signature) |
|
static ExternConstant * | DeclareExternConstant (Identifier *name, const Type *type, std::string value) |
|
static NamespaceConstant * | DeclareNamespaceConstant (Identifier *name, const Type *type, Expression *body) |
|
static GenericCallable * | DeclareGenericCallable (const std::string &name, GenericCallableDeclaration *ast_node) |
|
static GenericType * | DeclareGenericType (const std::string &name, GenericTypeDeclaration *ast_node) |
|
template<class T > |
static T * | Declare (const std::string &name, T *d) |
|
template<class T > |
static T * | Declare (const std::string &name, std::unique_ptr< T > d) |
|
static Macro * | DeclareOperator (const std::string &name, Macro *m) |
|
static std::string | GetGeneratedCallableName (const std::string &name, const TypeVector &specialized_types) |
|
Definition at line 44 of file declarations.h.