Language.Lua.Operation Class Reference

Represent Unary or Binary Operation, for Unary Operation the LeftOperand is not used. More...

Inheritance diagram for Language.Lua.Operation:
Collaboration diagram for Language.Lua.Operation:

Public Member Functions

 Operation (string oper)
 
 Operation (string oper, Term left, Term right)
 
override LuaValue Evaluate (LuaTable enviroment)
 
- Public Member Functions inherited from Language.Lua.Term
override LuaValue Evaluate (LuaTable enviroment)
 
override Term Simplify ()
 
- Public Member Functions inherited from Language.Lua.Expr
LuaValue Evaluate (LuaTable enviroment)
 
Term Simplify ()
 

Public Attributes

string Operator
 
Term LeftOperand
 
Term RightOperand
 

Detailed Description

Represent Unary or Binary Operation, for Unary Operation the LeftOperand is not used.

Constructor & Destructor Documentation

◆ Operation() [1/2]

Language.Lua.Operation.Operation ( string  oper)
inline

◆ Operation() [2/2]

Language.Lua.Operation.Operation ( string  oper,
Term  left,
Term  right 
)
inline

Member Function Documentation

◆ Evaluate()

override LuaValue Language.Lua.Operation.Evaluate ( LuaTable  enviroment)
inline

Member Data Documentation

◆ LeftOperand

Term Language.Lua.Operation.LeftOperand

◆ Operator

string Language.Lua.Operation.Operator

◆ RightOperand

Term Language.Lua.Operation.RightOperand

The documentation for this class was generated from the following file: