The internal compiler plug-in which adds file-related functions to the expression compiler as documented with the outer class.
Definition at line 111 of file fileexpressions.inl.
Public Method Index: | |
| Plugin (Compiler &compiler) | |
| DOXYGEN. | |
Public Method Index: inherited from alib::expressions::plugins::Calculus | |
| Calculus (const NString &name, Compiler &compiler, CompilePriorities pPriority) | |
| virtual | ~Calculus () override |
| Virtual destructor. | |
| ALIB_DLL void | AddBinaryOpOptimizations (BinaryOpOptimizationsTableEntry *table, size_t length) |
| template<size_t TCapacity> | |
| void | AddBinaryOpOptimizations (BinaryOpOptimizationsTableEntry(&table)[TCapacity]) |
| void | AddOperator (const String &op, Type lhsType, Type rhsType, CallbackDecl callback, const char *dbgCallbackName, Type resultType, CTInvokable cti) |
| void | AddOperatorAlias (const String &alias, Type lhsType, Type rhsType, const String &op) |
| void | AddOperatorAliases (OperatorAliasTableEntry *table, size_t length) |
| template<size_t TCapacity> | |
| void | AddOperatorAliases (OperatorAliasTableEntry(&table)[TCapacity]) |
| ALIB_DLL void | AddOperators (OperatorTableEntry *table, size_t length) |
| template<size_t TCapacity> | |
| void | AddOperators (OperatorTableEntry(&table)[TCapacity]) |
| virtual ALIB_DLL bool | TryCompilation (CIAutoCast &autoCast) override |
| virtual ALIB_DLL bool | TryCompilation (CIBinaryOp &ciBinaryOp) override |
| virtual ALIB_DLL bool | TryCompilation (CIFunction &ciFunction) override |
| virtual ALIB_DLL bool | TryCompilation (CIUnaryOp &ciUnaryOp) override |
Public Method Index: inherited from alib::expressions::CompilerPlugin | |
| CompilerPlugin (const NString &name, Compiler &compiler, CompilePriorities pPriority) | |
| virtual | ~CompilerPlugin () |
| Virtual destructor. | |
Public Method Index: inherited from alib::lang::Plugin< Compiler, CompilePriorities > | |
| PrioritiesType | GetPriority () const |
Additional Inherited Members | |
Public Type Index: inherited from alib::expressions::plugins::Calculus | |
| using | BinaryOpOptimizationsTableEntry = const std::tuple<String, lang::Side, Type, const Box&, const Box&> |
| using | CTInvokable = bool |
| using | OperatorAliasTableEntry = const std::tuple<String, Type, Type, String> |
| using | OperatorTableEntry |
Public Type Index: inherited from alib::lang::Plugin< Compiler, CompilePriorities > | |
| using | PluginType |
| This exposes the template parameter TPlugin to the outer world. | |
| using | PrioritiesType |
| This exposes the template parameter pTPlugin to the outer world. | |
Public Static Field Index: inherited from alib::expressions::plugins::Calculus | |
| static constexpr CTInvokable | CTI = true |
| static constexpr CTInvokable | ETI = false |
Public Field Index: inherited from alib::expressions::plugins::Calculus | |
| MonoAllocator | allocator |
| std::vector< AutoCastEntry > | AutoCasts |
| List of auto-casts to be compiled by this plug-in. | |
| HashMap< MonoAllocator, BinOpOptKey, Box, BinOpOptKey::Hash, BinOpOptKey::EqualTo > | BinaryOperatorOptimizations |
| std::vector< ConstantIdentifierEntry > | ConstantIdentifiers |
| List of identifiers that return constant values to be compiled by this plug-in. | |
| std::vector< FunctionEntry > | Functions |
| List of functions to be compiled by this plug-in. | |
| HashMap< MonoAllocator, OperatorKey, String, OperatorKey::Hash, OperatorKey::EqualTo > | OperatorAliases |
| HashMap< MonoAllocator, OperatorKey, std::tuple< CallbackDecl, Box, CTInvokable ALIB_DBG(, const char *) >, OperatorKey::Hash, OperatorKey::EqualTo > | Operators |
Public Field Index: inherited from alib::expressions::CompilerPlugin | |
| Compiler & | Cmplr |
| The compiler that this plug-in is attached to. | |
| const NString | Name |
Protected Field Index: inherited from alib::lang::Plugin< Compiler, CompilePriorities > | |
| PrioritiesType | priority |
| The priority of this plug-in. | |
Protected Method Index: inherited from alib::lang::Plugin< Compiler, CompilePriorities > | |
| Plugin (PrioritiesType pPriority) | |
| alib::files::FileExpressions::Plugin::Plugin | ( | Compiler & | compiler | ) |
DOXYGEN.
Constructor
| compiler | The compiler that this plugin will be attached to. |
Definition at line 135 of file fileexpressions.cpp.