|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Triplepair
This class is a wrapper that keeps the name of the triple an object is in together with its location in a triple. It is also used sparatically throughout the data structures when ever a name and a type or int needs to be bound together
Field Summary | |
boolean |
application
Boolean the flag for a successful parser pass |
java.lang.String |
name
Name of the triple in the triple |
int |
position
Position the object has in the triple |
java.lang.String |
type
Type of speech this is used as part of a general binding pair |
Constructor Summary | |
Triplepair()
defualt constructor |
|
Triplepair(int rule_used,
boolean application,
java.lang.String type)
Constructor used for parsing |
|
Triplepair(java.lang.String name2,
int position2)
Constructor |
|
Triplepair(java.lang.String name1,
java.lang.String type1)
Constructor for general binding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String name
public java.lang.String type
public int position
public boolean application
Constructor Detail |
public Triplepair()
public Triplepair(java.lang.String name1, java.lang.String type1)
name1
- The triple that is to be associatedtype1
- The string that is to be associatedpublic Triplepair(java.lang.String name2, int position2)
name2
- The tripleposition2
- The position in the triple the object haspublic Triplepair(int rule_used, boolean application, java.lang.String type)
rule_used
- the rule used in the parseapplication
- the flag telling if an application was possible
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |