Package | Description |
---|---|
parser | |
parser.states.assignmentstates | |
parser.states.definitionstates | |
parser.states.typestates | |
scanner | |
symbols |
Modifier and Type | Field and Description |
---|---|
private Buffer<AbstractSymbol> |
AbstractFileParser.buffer
the buffer, passed by the scanner.
|
Modifier and Type | Method and Description |
---|---|
private Buffer<AbstractSymbol> |
ParserTest.createAssignmentBuffer()
creates a small type buffer with some symbols.
|
private Buffer<AbstractSymbol> |
ParserTest.createDefinitionBuffer()
creates a small type buffer with some symbols.
|
private Buffer<AbstractSymbol> |
ParserTest.createPackageDefinitionBuffer()
create a PackageDefinitionBuffer.
|
private Buffer<AbstractSymbol> |
ParserTest.createTypeBuffer()
creates a small type buffer with some symbols.
|
protected Buffer<AbstractSymbol> |
AbstractFileParser.getBuffer() |
Modifier and Type | Method and Description |
---|---|
static PackageDescriptionFile |
PackageDescriptionFileParser.parse(RouterSoftware rs,
Buffer<AbstractSymbol> buffer)
creates a PackageDescriptionFileParser and starts the parse-Method.
|
Constructor and Description |
---|
AbstractFileParser(Buffer<AbstractSymbol> symbolBuffer)
constructor for create the PackageParser.
|
AssignmentFileParser(RouterConfiguration rc,
Buffer<AbstractSymbol> buffer)
The AssignmentFileParser will automatically generate a AssignmentFile after instantiation
which can be obtained via getAssignmentFile().
|
DefinitionFileParser(RouterSoftware rs,
Buffer<AbstractSymbol> buffer)
The DefinitionFileParser will automatically generate a DefinitionFile after instantiation
which can be obtained via getDefinitionFile().
|
PackageDescriptionFileParser(RouterSoftware rs,
Buffer<AbstractSymbol> symbolBuffer)
constructor.
|
TypeFileParser(RouterSoftware rs,
Buffer<AbstractSymbol> buffer)
The TypeFileParser will automatically generate a TypeFile after instantiation which can be
obtained via getTypeFile().
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractAssignmentState.parse(RouterConfiguration rc,
TempVariableAssignment tVA,
Buffer<AbstractSymbol> buffer,
AssignmentFileParser aFP) |
void |
AssignmentCommentState.parse(RouterConfiguration rc,
TempVariableAssignment tVA,
Buffer<AbstractSymbol> buffer,
AssignmentFileParser aFP) |
void |
AssignmentIdentifierState.parse(RouterConfiguration rc,
TempVariableAssignment tVA,
Buffer<AbstractSymbol> buffer,
AssignmentFileParser aFP) |
void |
AssignmentInitialState.parse(RouterConfiguration rc,
TempVariableAssignment tVA,
Buffer<AbstractSymbol> buffer,
AssignmentFileParser aFP) |
void |
AssignmentValueState.parse(RouterConfiguration rc,
TempVariableAssignment tVA,
Buffer<AbstractSymbol> buffer,
AssignmentFileParser aFP) |
Modifier and Type | Field and Description |
---|---|
private AbstractSymbol |
TypeVariableState.variable
The Variable.
|
private AbstractSymbol |
VariableState.variable
The Variable.
|
Modifier and Type | Method and Description |
---|---|
AbstractSymbol |
TypeVariableState.getVariable() |
AbstractSymbol |
VariableState.getVariable() |
Constructor and Description |
---|
TypeVariableState(AbstractSymbol variable,
TempTypeExtensionWithCondition tempExt)
The constructor.
|
VariableState(AbstractSymbol variable,
TempTypeExtensionWithCondition tempExt)
The constructor.
|
Modifier and Type | Field and Description |
---|---|
private Buffer<AbstractSymbol> |
Scanner.buffer
This attribute represents a buffer of Symbols.
|
private Buffer<AbstractSymbol> |
AssignmentFileScannerTest.buffer
The used buffer of symbols.
|
private Buffer<AbstractSymbol> |
DefinitionFileScannerTest.buffer
The buffer of Symbols for the tests.
|
private Buffer<AbstractSymbol> |
PackageDescriptionFileScannerTest.buffer
The buffer of Symbols for the tests.
|
private Buffer<AbstractSymbol> |
ScannerTest.buffer
The buffer of Symbols for the tests.
|
private Buffer<AbstractSymbol> |
TypeFileScannerTest.buffer
This attribute represents the Buffer.
|
Modifier and Type | Method and Description |
---|---|
protected abstract AbstractSymbol |
DescriptionBlock.createSymbol(java.lang.String collectedContent,
Position position)
Create the new Symbol.
|
protected AbstractSymbol |
OptionBlock.createSymbol(java.lang.String collectedContent,
Position position) |
protected AbstractSymbol |
PathBlock.createSymbol(java.lang.String collectedContent,
Position position) |
protected AbstractSymbol |
ValueBlock.createSymbol(java.lang.String collectedContent,
Position position) |
protected AbstractSymbol |
VariableBlock.createSymbol(java.lang.String collectedContent,
Position position) |
Modifier and Type | Method and Description |
---|---|
private Buffer<AbstractSymbol> |
Scanner.getBuffer() |
private java.util.ArrayList<AbstractSymbol> |
AssignmentFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
tests the transform method.
|
private java.util.ArrayList<AbstractSymbol> |
DefinitionFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
transform the filled buffer in a arrayList of Symbols.
|
private java.util.ArrayList<AbstractSymbol> |
PackageDescriptionFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
transform the filled buffer in a arrayList of Symbols.
|
private java.util.ArrayList<AbstractSymbol> |
TypeFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
tests the tranformMethod.
|
Modifier and Type | Method and Description |
---|---|
abstract AbstractState |
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.
|
AbstractState |
AssignmentFileRestState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
CommentState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
Condition1State.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
Condition2State.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
ConditionBeginState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
ConditionEndState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
ConditionState1.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
ContentState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
DefinitionFileRestState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
DefinitionFileSelectionState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
IdentifierState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
IdentifierTypeVariableState1.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
IdentifierTypeVariableState2.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
PackageDescriptionInitialState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
RegExpBeginSelectionState1.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
RegExpBeginSelectionState2.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
RegExpState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
RowEndState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
SelectionState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
StringState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
TypeFileRestState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
AbstractState |
WhitespaceState.action(java.lang.Character character,
Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected abstract void |
AbstractState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath)
Method, which will be call at the end of each row.
|
protected void |
AssignmentFileRestState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
CommentState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
Condition1State.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
Condition2State.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
ConditionBeginState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
ConditionEndState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
ConditionState1.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
ContentState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
DefinitionFileRestState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
DefinitionFileSelectionState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
IdentifierState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
IdentifierTypeVariableState1.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
IdentifierTypeVariableState2.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
PackageDescriptionInitialState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
RegExpBeginSelectionState1.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
RegExpBeginSelectionState2.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
RegExpState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
RowEndState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
SelectionState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
StringState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
TypeFileRestState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
protected void |
WhitespaceState.finish(Buffer<AbstractSymbol> currentResult,
java.lang.String dataPath) |
static void |
AssignmentFileScanner.toSymbolSequence(java.io.InputStream input,
java.lang.String dataPath,
Buffer<AbstractSymbol> buffer)
creates a scanner and starts it.
|
static void |
DefinitionFileScanner.toSymbolSequence(java.io.InputStream input,
java.lang.String dataPath,
Buffer<AbstractSymbol> buffer)
creates a scanner and starts him.
|
static void |
PackageDescriptionFileScanner.toSymbolSequence(java.io.InputStream input,
java.lang.String dataPath,
Buffer<AbstractSymbol> buffer)
creates a scanner and starts him.
|
static void |
TypeFileScanner.toSymbolSequence(java.io.InputStream input,
java.lang.String dataPath,
Buffer<AbstractSymbol> buffer)
creates a scanner and starts him.
|
private java.util.ArrayList<AbstractSymbol> |
AssignmentFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
tests the transform method.
|
private java.util.ArrayList<AbstractSymbol> |
DefinitionFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
transform the filled buffer in a arrayList of Symbols.
|
private java.util.ArrayList<AbstractSymbol> |
PackageDescriptionFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
transform the filled buffer in a arrayList of Symbols.
|
private java.util.ArrayList<AbstractSymbol> |
TypeFileScannerTest.transform(Buffer<AbstractSymbol> buffer1)
tests the tranformMethod.
|
Constructor and Description |
---|
AssignmentFileScanner(Buffer<AbstractSymbol> buffer)
This is the constructor for a new AssignmentFileScanner.
|
DefinitionFileScanner(Buffer<AbstractSymbol> buffer)
This constructor initialize the DefinitionFileScanner.
|
PackageDescriptionFileScanner(Buffer<AbstractSymbol> buffer)
create a PackageDescriptionFileScanner and sets the PackageDescriptionSelectionState as
initial state.
|
Scanner(Buffer<AbstractSymbol> buffer)
This is the constructoer to set the attributes.
|
TypeFileScanner(Buffer<AbstractSymbol> buffer)
This is the constructor for a new TypeFileScanner.
|
Modifier and Type | Class and Description |
---|---|
class |
BracketCloseSymbol
This class represents the BracketClosesymbol.
|
class |
BracketOpenSymbol
This class represents the BracketOpensymbol.
|
class |
ColonSignSymbol
This class represents the colonsign.
|
class |
CommentSymbol
This class represents the Symbol of a Comment.
|
class |
EmptySymbol
This class represents the empty symbol.
|
class |
EndSymbol
This class represents the end symbol.
|
class |
EqualSignSymbol
This class represents the equalsign.
|
class |
EqualsTildeSymbol |
class |
IdentifierSymbol
This class represents the Identifier Symbol.
|
class |
OptionSymbol
This class represents the option symbol.
|
class |
PathSymbol
This class represents the path symbol.
|
class |
PlusSymbol
This class represents the plussymbol (+).
|
class |
RegExpSymbol
This class represents the Regular Expression Symbol.
|
class |
RowEndSymbol
This class represents the row end symbol.
|
class |
StringSymbol
This class represents String symbol.
|
class |
UnknownSymbol
This class represents a Unkown Symbol.
|
class |
ValueSymbol
This class represents the value symbol.
|
class |
VariableSymbol
This class represents the variable symbol.
|