示例#1
0
文件: New.cs 项目: 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;
 }
示例#2
0
文件: New.cs 项目: 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;
 }