Beispiel #1
0
Datei: New.cs Projekt: 7shi/LLPML
 public static New New2(BlockBase parent, string type, NodeBase length)
 {
     var ret = new New();
     ret.Parent = parent;
     ret.type = TypeReference.New(Types.GetType(parent, type), true);
     ret.Length = length;
     return ret;
 }
Beispiel #2
0
Datei: New.cs Projekt: 7shi/LLPML
 public static New New1(BlockBase parent, string type)
 {
     var ret = new New();
     ret.Parent = parent;
     ret.type = Types.GetVarType(parent, type);
     ret.Length = IntValue.New(-1);
     return ret;
 }