Class Variable
java.lang.Object
edu.harvard.seas.pl.abcdatalog.ast.Variable
- All Implemented Interfaces:
Term
-
Constructor Summary
Constructors -
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
-
create
-
getName
-
toString
-
accept
-
createFreshVariable
-
applySubst
- Specified by:
applySubst
in interfaceTerm
-