public class IdentifierTypeVariableState2 extends AbstractState
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
collectedIdentifier
represents the collected Identifier Character as String.
|
| Constructor and Description |
|---|
IdentifierTypeVariableState2(Scanner myScanner,
java.lang.Integer beginningColumn,
java.lang.Integer beginningRow)
This constructor initialize the new IdentifierTypeVariableState2.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractState |
action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath)
This method represents the action which will be executed, if it reached.
|
protected void |
finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath)
Method, which will be call at the end of each row.
|
getBeginningColumn, getBeginningRow, getMyScannerprivate java.lang.String collectedIdentifier
public IdentifierTypeVariableState2(Scanner myScanner, java.lang.Integer beginningColumn, java.lang.Integer beginningRow)
myScanner - is the used scanner.beginningColumn - is the Begin Column of the SymbolbeginningRow - is the beginning row of the symbolpublic AbstractState action(java.lang.Character character, Buffer<AbstractSymbol> currentResult, java.lang.String dataPath) throws java.lang.InterruptedException
AbstractStateaction in class AbstractStatecharacter - is the used Character.currentResult - is the Buffer of symbols.dataPath - is the path to the dataStreamjava.lang.InterruptedException - for a Interruption in the methodprotected void finish(Buffer<AbstractSymbol> currentResult, java.lang.String dataPath) throws java.lang.InterruptedException
AbstractStatefinish in class AbstractStatecurrentResult - is the buffer of symbols.dataPath - is the path.java.lang.InterruptedException - from the Buffer.