Class Constant
java.lang.Object
edu.harvard.seas.pl.abcdatalog.ast.Constant
- All Implemented Interfaces:
Term
A zero-ary function symbol (i.e., a constant in Datalog).
-
Method Summary
Modifier and TypeMethodDescription<I,
O> O accept
(TermVisitor<I, O> visitor, I state) applySubst
(Substitution subst) static Constant
Returns a constant with the given string identifier.getName()
toString()