| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public void | initialize(ClassGenerator classGen, MethodGenerator methodGen)
This method is part of a little trick that is needed to use local variables inside nested for-each loops. |
| public void | parseContents(Parser parser)
Overrides com. Parse the contents of the variable |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate this node into JVM bytecodes. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Runs a type check on either the variable element body or the expression in the 'select' attribute |
| Variable | back to summary |
|---|---|
| pack-priv Variable() | |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| initialize | back to summary |
|---|---|
| public void initialize(ClassGenerator classGen, MethodGenerator methodGen) This method is part of a little trick that is needed to use local variables inside nested for-each loops. See the initializeVariables() method in the ForEach class for an explanation | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Parse the contents of the variable | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Doc from com. Translate this node into JVM bytecodes. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Runs a type check on either the variable element body or the expression in the 'select' attribute | |