Ejemplo n.º 1
0
Archivo: Tree.cs Proyecto: irpbc/mj
 public NewArray(int beginLine, int beginCol, int endLine, int endCol,
                 TypeTree elemenTypeTree, Expression length)
     : base(beginLine, beginCol, endLine, endCol)
 {
     this.elemenTypeTree = elemenTypeTree;
     this.length         = length;
 }
Ejemplo n.º 2
0
Archivo: Tree.cs Proyecto: irpbc/mj
 public VariableDeclaration(int beginLine, int beginCol, int endLine, int endCol, string name,
                            TypeTree type, Expression init)
     : base(beginLine, beginCol, endLine, endCol)
 {
     this.name = name;
     this.type = type;
     this.init = init;
 }
Ejemplo n.º 3
0
Archivo: Tree.cs Proyecto: irpbc/mj
 public FuncDef(int beginLine, int beginCol, int endLine, int endCol, string name, TypeTree returnType,
                IList <VariableDeclaration> parameters, Block body, bool isPrivate)
     : base(beginLine, beginCol, endLine, endCol)
 {
     this.name       = name;
     this.returnType = returnType;
     this.parameters = parameters;
     this.body       = body;
     this.isPrivate  = isPrivate;
 }
Ejemplo n.º 4
0
Archivo: Tree.cs Proyecto: irpbc/mj
 public ArrayTypeTree(int beginLine, int beginCol, int endLine, int endCol, TypeTree elemTypeTree)
     : base(beginLine, beginCol, endLine, endCol)
 {
     this.elemTypeTree = elemTypeTree;
 }