public interface Expression extends AST
Modifier and Type | Method and Description |
---|---|
int |
getPriority()
Get Priority of expression (higher values mean less binding power).
|
Expression |
instantiate()
return copy of AST with value references instantiated by the substitutions
set in the corresponding declaration identifiers
|
void |
printPriority(int treshold,
java.io.PrintWriter out)
print expression, use parentheses if priority is greater than treshold
|
int getPriority()
void printPriority(int treshold, java.io.PrintWriter out)
treshold
- priority level of enclosing expressionout
- writer to print expression onExpression instantiate()