|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper.Null
public static class IUnorderedGroupHelper.Null
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper |
---|
IUnorderedGroupHelper.Null, IUnorderedGroupHelper.UnorderedGroupState |
Constructor Summary | |
---|---|
IUnorderedGroupHelper.Null()
|
Method Summary | |
---|---|
boolean |
canLeave(UnorderedGroup group)
Query for remaining mandatory alternatives. |
boolean |
canSelect(UnorderedGroup group,
int index)
Predicate to answer the question whether the given alternative may be used. |
void |
enter(UnorderedGroup group)
Invoke when the group is entered in the parser. |
void |
initializeWith(org.antlr.runtime.BaseRecognizer recognizer)
Initializes this helper with the given recognizer. |
void |
leave(UnorderedGroup group)
Leave the group. |
void |
restore()
Restore the state. |
void |
returnFromSelection(UnorderedGroup group)
Finish the previously selected alternative. |
void |
select(UnorderedGroup group,
int index)
Announce the usage of the given alternative. |
IUnorderedGroupHelper.UnorderedGroupState |
snapShot(UnorderedGroup... group)
Obtain the current state to be able to roll-back after backtracking. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IUnorderedGroupHelper.Null()
Method Detail |
---|
public void initializeWith(org.antlr.runtime.BaseRecognizer recognizer)
IUnorderedGroupHelper
initializeWith
in interface IUnorderedGroupHelper
public void enter(UnorderedGroup group)
IUnorderedGroupHelper
enter
in interface IUnorderedGroupHelper
public void leave(UnorderedGroup group)
IUnorderedGroupHelper
leave
in interface IUnorderedGroupHelper
public boolean canSelect(UnorderedGroup group, int index)
IUnorderedGroupHelper
canSelect
in interface IUnorderedGroupHelper
public void select(UnorderedGroup group, int index)
IUnorderedGroupHelper
select
in interface IUnorderedGroupHelper
public void returnFromSelection(UnorderedGroup group)
IUnorderedGroupHelper
returnFromSelection
in interface IUnorderedGroupHelper
public boolean canLeave(UnorderedGroup group)
IUnorderedGroupHelper
canLeave
in interface IUnorderedGroupHelper
public void restore()
IUnorderedGroupHelper.UnorderedGroupState
restore
in interface IUnorderedGroupHelper.UnorderedGroupState
public IUnorderedGroupHelper.UnorderedGroupState snapShot(UnorderedGroup... group)
IUnorderedGroupHelper
snapShot
in interface IUnorderedGroupHelper
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |