Example #1
0
 public LuaPropertyNode(string propertyName, LuaMemberType memberType,
                        LuaBaseStatementNode initStatementNode = null)
 {
     this.propertyName      = propertyName;
     this.initStatementNode = initStatementNode;
     this.memberType        = memberType;
 }
Example #2
0
 public LuaFunctionNode(string functionName, LuaMemberType memberType, List <string> functionArg = null,
                        List <LuaBaseStatementNode> statementNodes = null)
 {
     this.functionName   = functionName;
     this.memberType     = memberType;
     this.functionArg    = functionArg ?? new List <string>();
     this.statementNodes = statementNodes ?? new List <LuaBaseStatementNode>();
 }
Example #3
0
 public LuaFieldNode(string fieldName, LuaMemberType memberType, LuaBaseStatementNode initStatementNode = null)
 {
     this.fieldName         = fieldName;
     this.memberType        = memberType;
     this.initStatementNode = initStatementNode;
 }