Beispiel #1
0
 public ASTCILIOInStringNode(CoolMethod method, ILabelILGenerator labelIlGenerator) : base(labelIlGenerator.GenerateFunc(Types.IO, Functions.InString), method,
                                                                                           Enumerable.Empty <ASTCILExpressionNode>())
 {
 }
 public ASTCILFuncNode(string Tag, CoolMethod method, IEnumerable <ASTCILExpressionNode> body) : base()
 {
     this.Tag = Tag;
     Method   = method;
     Body     = body.ToList();
 }
 public ASTCILFuncNode(string Tag, CoolMethod method, IEnumerable <ASTCILExpressionNode> body, bool boxing, CoolType boxingType) : this(Tag, method, body)
 {
     this.Boxing     = boxing;
     this.BoxingType = boxingType;
 }
Beispiel #4
0
 public ASTCILStringConcatNode(CoolMethod method, ILabelILGenerator labelIlGenerator) : base(
         labelIlGenerator.GenerateFunc(Types.String, Functions.Concat), method, Enumerable.Empty <ASTCILExpressionNode>())
 {
 }
 public ASTCILObjectTypeNameNode(CoolMethod method, ILabelILGenerator labelIlGenerator) : base(
         labelIlGenerator.GenerateFunc(Types.Object, Functions.Type_Name), method, Enumerable.Empty <ASTCILExpressionNode>())
 {
 }
 public ASTCILIOInIntNode(CoolMethod coolMethod, ILabelILGenerator labelgenerator) : base(labelgenerator.GenerateFunc(Types.IO, Functions.InInt), coolMethod,
                                                                                          Enumerable.Empty <ASTCILExpressionNode>())
 {
 }