| Modifier and Type | Field and Description |
|---|---|
| private Node |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public Node | |
| public Node | qualifyAttributeAccess(ParseTreeContext context)
Overrides org. |
| public void | |
| public void | validate(ParseTreeContext context)
Overrides org. |
| denominator | back to summary |
|---|---|
| private Node denominator | |
| ModNode | back to summary |
|---|---|
| public ModNode() | |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. Doc from org. INTERNAL Generate an expression for the node. Each subclass will generate a different expression and thus will need to override this method
| |
| getDenominator | back to summary |
|---|---|
| public Node getDenominator() | |
| qualifyAttributeAccess | back to summary |
|---|---|
| public Node qualifyAttributeAccess(ParseTreeContext context) Overrides org. INTERNAL Check the child nodes for an unqualified field access and if so, replace it by a qualified field access.
| |
| setDenominator | back to summary |
|---|---|
| public void setDenominator(Node denominator) | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculate its type.
| |