| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private final InstructionSequence | |
| private static final Pattern | |
| private final Stack |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private InstructionSequence | |
| public InstructionSequence | Returns: the instruction sequenceReturns the instruction sequence that has been build from the syntactic elements. |
| public static InstructionSequence | Returns: the instruction sequencethe Type 4 function text text)Parses the given text into an instruction sequence representing a Type 4 function that can be executed. |
| public static int | |
| public static float | |
| public void | token(CharSequence
the token text text)Implements org. Called when a token is encountered. |
| private void |
| INTEGER_PATTERN | back to summary |
|---|---|
| private static final Pattern INTEGER_PATTERN | |
| mainSequence | back to summary |
|---|---|
| private final InstructionSequence mainSequence | |
| REAL_PATTERN | back to summary |
|---|---|
| private static final Pattern REAL_PATTERN | |
| seqStack | back to summary |
|---|---|
| private final Stack<InstructionSequence> seqStack | |
| InstructionSequenceBuilder | back to summary |
|---|---|
| private InstructionSequenceBuilder() | |
| getCurrentSequence | back to summary |
|---|---|
| private InstructionSequence getCurrentSequence() | |
| getInstructionSequence | back to summary |
|---|---|
| public InstructionSequence getInstructionSequence() Returns the instruction sequence that has been build from the syntactic elements.
| |
| parse | back to summary |
|---|---|
| public static InstructionSequence parse(CharSequence text) Parses the given text into an instruction sequence representing a Type 4 function that can be executed.
| |
| parseInt | back to summary |
|---|---|
| public static int parseInt(String token) Parses a value of type "int".
| |
| parseReal | back to summary |
|---|---|
| public static float parseReal(String token) Parses a value of type "real".
| |
| token | back to summary |
|---|---|
| public void token(CharSequence text) Implements org. Doc from org. Called when a token is encountered. No distinction between operators and values is done here.
| |
| token | back to summary |
|---|---|
| private void token(String token) | |