1 package polyglot.parse; 2 3 import polyglot.ast.*; 4 import polyglot.util.*; 5 6 9 public class VarDeclarator { 10 public Position pos; 11 public String name; 12 public int dims; 13 public Expr init; 14 15 public VarDeclarator(Position pos, String name) { 16 this.pos = pos; 17 this.name = name; 18 this.dims = 0; 19 this.init = null; 20 } 21 22 public Position position() { 23 return pos; 24 } 25 } 26 | Popular Tags |