コード例 #1
0
 public ASTCILIOInStringNode(CoolMethod method, ILabelILGenerator labelIlGenerator) : base(labelIlGenerator.GenerateFunc(Types.IO, Functions.InString), method,
                                                                                           Enumerable.Empty <ASTCILExpressionNode>())
 {
 }
コード例 #2
0
 public CodeGenerator(ILabelILGenerator labelGenerator, CompilationUnit compilationUnit)
 {
     this.labelGenerator     = labelGenerator;
     this.CompilationUnit    = compilationUnit;
     StringConstantGenerated = new Dictionary <string, string>();
 }
コード例 #3
0
 public SuperCoolCILASTVisitor(ILabelILGenerator labelIlGenerator, CompilationUnit compilationUnit)
 {
     this.labelIlGenerator = labelIlGenerator;
     this.compilationUnit  = compilationUnit;
 }
コード例 #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>())
 {
 }