|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpolyglot.parse.VarDeclarator
public class VarDeclarator
Encapsulates some of the data in a variable declaration. Used only by the parser.
Field Summary | |
---|---|
int |
dims
|
Expr |
init
|
Id |
name
|
Position |
pos
|
Constructor Summary | |
---|---|
VarDeclarator(Position pos,
Id name)
|
Method Summary | |
---|---|
int |
dims()
|
Expr |
init()
|
Id |
name()
|
Position |
position()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Position pos
public Id name
public int dims
public Expr init
Constructor Detail |
---|
public VarDeclarator(Position pos, Id name)
Method Detail |
---|
public Id name()
public int dims()
public Expr init()
public Position position()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |