public final class DividesTerm extends BinaryExpression
| Constructor and Description |
|---|
DividesTerm(Expression base1,
Expression base2)
construct quotient with components base1 and base2
|
| Modifier and Type | Method and Description |
|---|---|
BinaryExpression |
construct(Expression first,
Expression second)
Construct binary expression of the same kind as this expression.
|
int |
getPriority()
get binding level for printing (lower numbers mean greater binding power)
|
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
accept, getFirst, getSecond, instantiateprintPriorityprint, printParens, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitprint, printParens, toStringpublic DividesTerm(Expression base1, Expression base2)
base1 - the first componentbase2 - the second componentpublic int getPriority()
getPriority in interface ExpressiongetPriority in class ExpressionBasepublic BinaryExpression construct(Expression first, Expression second)
construct in class BinaryExpressionfirst - an expression.second - an expression.public void printCore(java.io.PrintWriter out)
printCore in interface ASTprintCore in class BinaryExpressionout - the stream on which the text is written