Modifier and Type | Class and Description |
---|---|
class |
BasicLexicalException |
class |
CommandCanNotBeCreatedException |
class |
CommandFactoryException |
class |
GeneralAnalysisException |
class |
GenericSyntaxException |
class |
KeywordNotImplementedException |
class |
LexicalException
Exception to throw when there is some error during the lexical analysis
related to the analysis itself and not the reading of the source.
|
class |
SyntaxException
Exception to throw when there is some error during the syntax analysis
related to the analysis itself and not the reading of the source.
|
class |
UnterminatedStringException |
Modifier and Type | Method and Description |
---|---|
Expression |
TagAnalyzer.analyze() |
BuildableProgram |
SyntaxAnalyzer.analyze()
Perform the syntax analysis.
|
LeftValue |
LeftValueAnalyzer.analyze() |
Expression |
ExpressionAnalyzer.analyze() |
T |
Analyzer.analyze() |
Command |
CommandFactory.create(String commandKeyword)
Create a Command that starts with the keyword.
|
LexicalElement |
LexicalAnalyzer.get()
Get the next lexical element from the input stream.
|
LexicalElement |
LexicalAnalyzer.peek()
Peek at the next lexical element and do not remove it from the input
stream.
|
<T extends NestedStructure> |
NestedStructureHouseKeeper.pop(Class<T> expectedClass)
Pops one element from the stack.
|
void |
BuildableProgram.postprocess()
Calling this method signals that all the commands are added to the
program.
|
LexicalElement |
LexicalElementAnalyzer.read()
Reads a lexeme and returns the created lexical element.
|
Modifier and Type | Method and Description |
---|---|
LexicalElement |
BasicLexicalAnalyzer.get() |
LexicalElement |
BasicLexicalAnalyzer.peek()
Peek at the next lexical element and do not remove it from the input
stream.
|
Modifier and Type | Method and Description |
---|---|
BuildableProgram |
BasicSyntaxAnalyzer.analyze() |
protected T |
AbstractGenericListAnalyzer.analyze(K list,
A analyzer) |
<T extends NestedStructure> |
GenericNestedStructureHouseKeeper.pop(Class<T> expectedClass) |
<T extends NestedStructure> |
AbstractNestedStructureHouseKeeper.pop(Class<T> expectedClass) |
void |
AbstractBasicProgramPostprocessing.postprocess() |
Modifier and Type | Method and Description |
---|---|
protected Expression |
AbstractCommandAnalyzerIfKind.analizeLine() |
Command |
CommandAnalyzerWhile.analyze() |
Command |
CommandAnalyzerWend.analyze() |
Command |
CommandAnalyzerUse.analyze() |
Command |
CommandAnalyzerSub.analyze() |
Command |
CommandAnalyzerReturn.analyze() |
Command |
CommandAnalyzerPrint.analyze() |
Command |
CommandAnalyzerNext.analyze() |
Command |
CommandAnalyzerMethod.analyze() |
Command |
CommandAnalyzerLet.analyze() |
Command |
CommandAnalyzerFor.analyze() |
Command |
CommandAnalyzerEndSub.analyze() |
Command |
CommandAnalyzerEndIf.analyze() |
Command |
CommandAnalyzerElse.analyze() |
Command |
CommandAnalyzerCall.analyze() |
Command |
AbstractCommandAnalyzerIfKind.analyze() |
Command |
AbstractCommandAnalyzerGlobalLocal.analyze() |
protected Expression |
AbstractCommandAnalyzer.analyzeExpression() |
protected ExpressionList |
AbstractCommandAnalyzer.analyzeExpressionList() |
protected LeftValueList |
AbstractCommandAnalyzer.analyzeLeftValueList() |
protected LeftValue |
AbstractCommandAnalyzer.analyzeSimpleLeftValue() |
protected LeftValueList |
AbstractCommandAnalyzer.analyzeSimpleLeftValueList() |
protected void |
AbstractCommandAnalyzer.assertKeyWord(String keyword)
Ensures that the appropriate keyword is on the line.
|
protected void |
AbstractCommandAnalyzer.consumeEndOfLine()
Checks that there are no extra characters on a program line when the line
analyzer thinks that it has finished analyzing the line.
|
Command |
BasicCommandFactory.create(String commandKeyword) |
protected Command |
CommandAnalyzerIf.createNode(Expression condition) |
protected Command |
CommandAnalyzerElseIf.createNode(Expression condition) |
protected abstract Command |
AbstractCommandAnalyzerIfKind.createNode(Expression condition) |
protected boolean |
AbstractCommandAnalyzer.isKeyWord(String keyword) |
protected void |
AbstractCommandAnalyzerIfElseKind.registerAndPopNode(AbstractCommandIfElseKind node) |
protected void |
AbstractCommandAnalyzerIfElseKind.registerAndSwapNode(AbstractCommandIfElseKind node) |
Modifier and Type | Method and Description |
---|---|
Expression |
BasicTagAnalyzer.analyze() |
ExpressionList |
BasicExpressionListAnalyzer.analyze() |
Expression |
AbstractExpressionAnalyzer.analyze() |
Modifier and Type | Method and Description |
---|---|
LeftValueList |
BasicSimpleLeftValueListAnalyzer.analyze() |
LeftValue |
BasicSimpleLeftValueAnalyzer.analyze() |
LeftValueList |
BasicLeftValueListAnalyzer.analyze() |
LeftValue |
AbstractLeftValueAnalyzer.analyze() |
Modifier and Type | Method and Description |
---|---|
static void |
LexUtility.checkLexeme(Factory factory,
String lexeme,
String exceptionText) |
static String |
ExpressionUtility.convertToString(Expression expression)
Convert an expression of the form 'a.b.c.d' into a String.
|
static LexicalElement |
LexUtility.get(LexicalAnalyzer lexicalAnalyzer) |
static boolean |
LexUtility.isLexeme(Factory factory,
String lexeme) |
static LexicalElement |
LexUtility.peek(LexicalAnalyzer lexicalAnalyzer) |
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.