public ExprAlloc(SugarType type, string name, Expr expr, AllocType style) { this.Type = type; this.Name = new List<string> { name }; this.ExprList = new List<Expr> { expr }; this.Style = style; }
public TemplateType(SugarType type, List<SugarType> args) { this.Type = type; if (args != null) { this.Args = args; } }
public FuncType(List <SugarType> args, SugarType type) { this.Type = type; if (args != null) { this.Args = args; } }
public TemplateType(SugarType type, List <SugarType> args) { this.Type = type; if (args != null) { this.Args = args; } }
public ExprNewArray(SugarType type, List <Expr> args) { this.ElemType = type; if (args != null) { this.Args = args; } }
public ArrayType(SugarType type, List <Expr> args) { this.Type = type; if (args != null) { this.Args = args; } }
public ExprMatch(Expr expr, SugarType type, List <ExprMatchItem> list) { this.Expr = expr; this.Type = type; if (list != null) { this.List = list; } }
public ExprCurryLambda(StmtBlock block, List <ExprAlloc> args, bool isRef, SugarType type) { this.Block = block; if (args != null) { this.Args = args; } this.IsRef = isRef; this.Type = type; }
public ExprAlloc(SugarType type, List <string> name, List <Expr> expr_list, AllocType style) { this.Type = type; this.Name = name; if (expr_list != null) { this.ExprList = expr_list; } this.Style = style; }
public ExprAlloc(SugarType type, List<string> name, List<Expr> expr_list, AllocType style) { this.Type = type; this.Name = name; if (expr_list != null) { this.ExprList = expr_list; } this.Style = style; }
public GlobalAlloc(SugarType type, string name, Expr expr, List<Attr> attr, AllocType style) { this.Type = type; this.Name.Add(name); this.ExprList.Add(expr); if (attr != null) { this.Attribute = attr; } this.Style = style; }
public ExprAlloc(SugarType type, string name, Expr expr, AllocType style) { this.Type = type; this.Name = new List <string> { name }; this.ExprList = new List <Expr> { expr }; this.Style = style; }
public GlobalAlloc(SugarType type, string name, Expr expr, List <Attr> attr, AllocType style) { this.Type = type; this.Name.Add(name); this.ExprList.Add(expr); if (attr != null) { this.Attribute = attr; } this.Style = style; }
public GlobalAlloc(SugarType type, List <string> name, List <Expr> expr_list, List <Attr> attr, AllocType style) { this.Type = type; this.Name = name; if (expr_list != null) { this.ExprList = expr_list; } if (attr != null) { this.Attribute = attr; } this.Style = style; }
public GlobalAlloc(SugarType type, List<string> name, List<Expr> expr_list, List<Attr> attr, AllocType style) { this.Type = type; this.Name = name; if (expr_list != null) { this.ExprList = expr_list; } if (attr != null) { this.Attribute = attr; } this.Style = style; }
public ExprCast(SugarType type, Expr expr) { this.Type = type; this.Expr = expr; }
public StarType(SugarType type) { this.Type = type; }
public RefType(SugarType type) { this.Type = type; }
public Sugar(decimal quantity, DryMeasurement measurement, SugarType type) { Quantity = quantity; Measurement = measurement; SugarType = type; }
public ExprCurryLambda(StmtBlock block, List<ExprAlloc> args, bool isRef, SugarType type) { this.Block = block; if (args != null) { this.Args = args; } this.IsRef = isRef; this.Type = type; }
public GlobalTypeDef(SugarType type, string name) { this.Type = type; this.Name = name; }
public ArrayType(SugarType type, List<Expr> args) { this.Type = type; if (args != null) { this.Args = args; } }
public StmtTypeDef(SugarType type, string name) { this.Type = type; this.Name = name; }
public ExprMatch(Expr expr, SugarType type, List<ExprMatchItem> list) { this.Expr = expr; this.Type = type; if (list != null) { this.List = list; } }
public ExprListGeneration(SugarType type, StmtFor stmt_for, Expr expr) { this.For = stmt_for; this.Expr = expr; this.Type = type; }
public ExprNewArray(SugarType type, List<Expr> args) { this.ElemType = type; if (args != null) { this.Args = args; } }
public FuncType(List<SugarType> args, SugarType type) { this.Type = type; if (args != null) { this.Args = args; } }