public class FormulaSymbol extends GlobalSymbolBase
Modifier and Type | Method and Description |
---|---|
static FormulaSymbol |
construct(Identifier name,
Formula formula,
FormulaDefinition decl,
TheorySymbol theory)
Construct formula symbol.
|
FormulaDefinition |
getDeclaration()
Get declaration.
|
Formula |
getFormula()
Get formula.
|
void |
print(java.io.PrintWriter out)
Print symbol on output stream.
|
getLongName
getName
public static FormulaSymbol construct(Identifier name, Formula formula, FormulaDefinition decl, TheorySymbol theory)
name
- the name of the symbol.formula
- the formula identified by the symbol.decl
- the declaration introducing the symbol.theory
- the theory in which the symbol occurs (may be null)public Formula getFormula()
public FormulaDefinition getDeclaration()
getDeclaration
in interface Symbol
getDeclaration
in class SymbolBase
public void print(java.io.PrintWriter out)
out
- the output stream.