Class provides implementation of the literal storage for expressions. It is being used by expression runners.
First operand is assumed to be object and the second one is identifier containing the key. Pointer to the object property named by key is stored as a result.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CFunctionLiteral :public virtual CFunction
{
public:
// IFunction methods
bool Run() override;
CFunctionLiteral(IErrorListener *error_listener, const Variable &value);
};
Namespace: | nitisa::script |
Include: | Nitisa/Modules/Script/Functions/General/FunctionLiteral.h |