public class ModNode extends ArithmeticFunctionNode
left, right, shouldGenerateExpression
Constructor and Description |
---|
ModNode() |
Modifier and Type | Method and Description |
---|---|
Expression |
generateExpression(GenerationContext context)
INTERNAL
Generate an expression for the node.
|
Node |
getDenominator() |
Node |
qualifyAttributeAccess(ParseTreeContext context)
INTERNAL
Check the child nodes for an unqualified field access and if so,
replace it by a qualified field access.
|
void |
setDenominator(Node denominator) |
void |
validate(ParseTreeContext context)
INTERNAL
Validate node and calculate its type.
|
addToExpression, appendExpression, applyToQuery, getAsString, getColumn, getLeft, getLine, getRight, getType, hasLeft, hasRight, isAggregateNode, isAttributeNode, isConstructorNode, isCountNode, isDivideNode, isDotNode, isEscape, isLiteralNode, isMinusNode, isMultiplyNode, isNotNode, isParameterNode, isPlusNode, isSubqueryNode, isVariableNode, resolveAttribute, resolveClass, resolveClass, resolveMapping, resolveMapping, setColumn, setLeft, setLine, setRight, setType, toString, toString, toStringDisplayName, toStringIndent, validateParameter
public Node qualifyAttributeAccess(ParseTreeContext context)
qualifyAttributeAccess
in class Node
public void validate(ParseTreeContext context)
public Expression generateExpression(GenerationContext context)
Node
generateExpression
in class Node
public Node getDenominator()
public void setDenominator(Node denominator)
Copyright © 2021. All rights reserved.