public class Var extends Term
Term, 
Serialized Form| Modifier and Type | Field and Description | 
|---|---|
static String | 
ANY  | 
int | 
nrInStruct  | 
| Constructor and Description | 
|---|
Var(String n,
   int nr)
Creates a variable identified by a name. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object t)  | 
int | 
hashCode()  | 
boolean | 
isAnonymous()
Tests if this variable is ANY 
 | 
String | 
toString()
Gets the string representation of this variable. 
 | 
String | 
toStringSmall()  | 
public static final String ANY
public final int nrInStruct
public Var(String n, int nr) throws InvalidTermException
n - varaible name if n is "_" the variable is anonymous.nr - its variable number of its root parent Struct.InvalidTermExceptionpublic boolean isAnonymous()
public String toString()
public String toStringSmall()
toStringSmall in class TermCopyright © 2020–2024 Prolobjectlink Project. All rights reserved.