java.lang.Object
alice.logictuple.TupleArgument
alice.logictuple.Var
- All Implemented Interfaces:
- java.io.Serializable
- public class Var
- extends TupleArgument
Defines Variable argument of tuples, identified by a name
- Version:
- 1.0
Field Summary |
static Var |
ANY
the 'any' (anonymous, which is _) variable constant |
Constructor Summary |
Var()
Constructs an anonymous variable tuple argument |
Var(java.lang.String n)
Construct a variable tuple argument identified with a name |
Methods inherited from class alice.logictuple.TupleArgument |
getArg, getArity, getFloat, getInt, getName, getString, isFloat, isInt, isNumber, isString, isStruct, isValue, isVar, toString, toTerm |
ANY
public static final Var ANY
- the 'any' (anonymous, which is _) variable constant
Var
public Var(java.lang.String n)
throws InvalidVarNameException
- Construct a variable tuple argument identified with a name
Var
public Var()
- Constructs an anonymous variable tuple argument