| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Expression |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | display(int indent)
Overrides com. Display the contents of this element |
| public void | parseContents(Parser parser)
Overrides com. Parse the "test" expression and contents of this element. |
| public void | translate(ClassGenerator classGen, MethodGenerator methodGen)
Overrides com. Translate the "test" expression and contents of this element. |
| public Type | typeCheck(SymbolTable stable)
Overrides com. Type-check the "test" expression and contents of this element. |
| _ignore | back to summary |
|---|---|
| private boolean _ignore | |
| _test | back to summary |
|---|---|
| private Expression _test | |
| If | back to summary |
|---|---|
| pack-priv If() | |
| display | back to summary |
|---|---|
| public void display(int indent) Overrides com. Display the contents of this element | |
| parseContents | back to summary |
|---|---|
| public void parseContents(Parser parser) Overrides com. Parse the "test" expression and contents of this element. | |
| translate | back to summary |
|---|---|
| public void translate(ClassGenerator classGen, MethodGenerator methodGen) Overrides com. Translate the "test" expression and contents of this element. The contents will be ignored if we know the test will always fail. | |
| typeCheck | back to summary |
|---|---|
| public Type typeCheck(SymbolTable stable) throws TypeCheckError Overrides com. Type-check the "test" expression and contents of this element. The contents will be ignored if we know the test will always fail. | |