|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.sposh.engine.FireResult
public final class FireResult
Result of ElementExecutors, it specified how should be drive stack modified. Only FOLLOW requires specification of nextElement.
Nested Class Summary | |
---|---|
static class |
FireResult.Type
Value returned by the executor of an element on the stack, it determines how should drive stack be modified. |
Constructor Summary | |
---|---|
protected |
FireResult(FireResult.Type type)
Create result for modification of stack, the getNextElement()
is null. |
protected |
FireResult(FireResult.Type type,
cz.cuni.amis.pogamut.sposh.engine.StackElement nextElement)
Create structure saying how the should be the drive stack modified. |
Method Summary | |
---|---|
cz.cuni.amis.pogamut.sposh.engine.StackElement |
getNextElement()
Get element that should be put at the top of the stack. |
FireResult.Type |
getType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FireResult(FireResult.Type type)
getNextElement()
is null.
type
- How should be stack modified, not FireResult.Type.FOLLOW
.protected FireResult(FireResult.Type type, cz.cuni.amis.pogamut.sposh.engine.StackElement nextElement)
type
- How should be stack of drive modified.nextElement
- What should getNextElement()
be.Method Detail |
---|
public FireResult.Type getType()
public cz.cuni.amis.pogamut.sposh.engine.StackElement getNextElement()
getType()
is FireResult.Type.FOLLOW
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |