|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrainerEvent
An interface to allow iteration over various kinds of events used by the
class Trainer
.
Method Summary | |
---|---|
TrainerEvent |
copy()
Returns a deep copy of this event of the same run-time type. |
Word |
headWord()
Returns the head word object associated with an event, or null
if this TrainerEvent has no such object. |
Word |
modHeadWord()
Returns the modifier head word object associated with an event, or null if this TrainerEvent has no such object. |
Symbol |
parent()
Returns the parent symbol of this event, or null if
this event has no such object. |
void |
setHeadWord(Word word)
Sets the head word of this event, or does nothing if this TrainerEvent has no such object. |
TrainerEvent |
shallowCopy()
Returns a shallow copy of this event of the same run-time type. |
boolean |
side()
Returns the side of a modifier event. |
Method Detail |
---|
Word headWord()
null
if this TrainerEvent
has no such object.
void setHeadWord(Word word)
TrainerEvent
has no such object.
word
- the word to set as the head word of this eventWord modHeadWord()
null
if this TrainerEvent
has no such object.
TrainerEvent copy()
TrainerEvent shallowCopy()
Symbol parent()
null
if
this event has no such object.
boolean side()
UnsupportedOperationException
- if this is not a modifier event
|
Parsing Engine | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |