public final class FireResult extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FireResult.Type
Value returned by the executor of an element on the stack, it determines
how should drive stack be modified.
|
| Modifier | Constructor and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
cz.cuni.amis.pogamut.sposh.engine.StackElement |
getNextElement()
Get element that should be put at the top of the stack.
|
FireResult.Type |
getType() |
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.public FireResult.Type getType()
public cz.cuni.amis.pogamut.sposh.engine.StackElement getNextElement()
getType() is FireResult.Type.FOLLOW.Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.