Class Variable
java.lang.Object
edu.harvard.seas.pl.abcdatalog.ast.Variable
- All Implemented Interfaces:
Term
A Datalog variable.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<I,
O> O accept
(TermVisitor<I, O> visitor, I state) applySubst
(Substitution subst) static Variable
Returns a variable with the given string identifier.static Variable
getName()
toString()
-
Constructor Details
-
Variable
Constructs a variable from an identifier.- Parameters:
name
- identifier
-
-
Method Details