public final class FormulaDeclIdentifier extends Identifier
Constructor and Description |
---|
FormulaDeclIdentifier(java.lang.String name)
construct identifier from name
|
Modifier and Type | Method and Description |
---|---|
AST |
accept(ASTVisitor visitor)
Accept visitor for a visit.
|
FormulaSymbol |
getSymbol()
returns formula symbol
|
void |
print(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
void |
printCore(java.io.PrintWriter out)
Prints text representation on out (without new line termination).
|
getName, printPriority, setName
printParens, toString
public FormulaDeclIdentifier(java.lang.String name)
name
- the text representation of the identifierpublic FormulaSymbol getSymbol()
public void printCore(java.io.PrintWriter out)
printCore
in interface AST
printCore
in class Identifier
out
- the stream on which the text is writtenpublic void print(java.io.PrintWriter out)
print
in interface AST
print
in class Identifier
out
- the stream on which the text is writtenpublic AST accept(ASTVisitor visitor)
visitor
- the visitor who is accepted by this node.