Uses of Class
com.scriptbasic.interfaces.AnalysisException
-
Uses of AnalysisException in com.scriptbasic.exceptions
Subclasses of AnalysisException in com.scriptbasic.exceptions Modifier and Type Class Description classBasicLexicalExceptionclassCommandCanNotBeCreatedExceptionclassCommandFactoryExceptionclassGeneralAnalysisExceptionclassKeywordNotImplementedExceptionclassLexicalExceptionException to throw when there is some error during the lexical analysis related to the analysis itself and not the reading of the source.classSyntaxExceptionException to throw when there is some error during the syntax analysis related to the analysis itself and not the reading of the source.classUnterminatedStringException -
Uses of AnalysisException in com.scriptbasic.interfaces
Subclasses of AnalysisException in com.scriptbasic.interfaces Modifier and Type Class Description classBasicSyntaxExceptionMethods in com.scriptbasic.interfaces that throw AnalysisException Modifier and Type Method Description TAnalyzer. analyze()ExpressionExpressionAnalyzer. analyze()LeftValueLeftValueAnalyzer. analyze()BuildableProgramSyntaxAnalyzer. analyze()Perform the syntax analysis.ExpressionTagAnalyzer. analyze()voidNestedStructureHouseKeeper. checkFinalState()Check final state of nested structures.voidNestedStructureHouseKeeper. consumeEndOfStatement()Checks that there are no extra characters when the line analyzer expects it has finished analyzing the statement.NestedStructureHouseKeeper.EndOfStatementResultNestedStructureHouseKeeper.EndOfStatementProcessor. consumeEndOfStatement()CommandCommandFactory. create(java.lang.String commandKeyword)Create a Command that starts with the keyword.LexicalElementLexicalAnalyzer. get()Get the next lexical element from the input stream.LexicalElementLexicalAnalyzer. peek()Peek at the next lexical element and do not remove it from the input stream.<T extends NestedStructure>
TNestedStructureHouseKeeper. pop(java.lang.Class<T> expectedClass)Pops one element from the stack.voidBuildableProgram. postprocess()Calling this method signals that all the commands are added to the program.LexicalElementLexicalElementAnalyzer. read()Reads a lexeme and returns the created lexical element. -
Uses of AnalysisException in com.scriptbasic.lexer
Methods in com.scriptbasic.lexer that throw AnalysisException Modifier and Type Method Description LexicalElementBasicLexicalAnalyzer. get()LexicalElementBasicLexicalAnalyzer. peek()Peek at the next lexical element and do not remove it from the input stream. -
Uses of AnalysisException in com.scriptbasic.syntax
Methods in com.scriptbasic.syntax that throw AnalysisException Modifier and Type Method Description protected TAbstractGenericListAnalyzer. analyze(K list, A analyzer)BuildableProgramBasicSyntaxAnalyzer. analyze()voidAbstractNestedStructureHouseKeeper. checkFinalState()voidAbstractNestedStructureHouseKeeper. consumeEndOfStatement()static voidBasicSyntaxAnalyzer. consumeIgnoredLine(LexicalAnalyzer lexicalAnalyzer, java.lang.String lexString)<T extends NestedStructure>
TAbstractNestedStructureHouseKeeper. pop(java.lang.Class<T> expectedClass)<T extends NestedStructure>
TGenericNestedStructureHouseKeeper. pop(java.lang.Class<T> expectedClass)voidAbstractBasicProgramPostprocessing. postprocess() -
Uses of AnalysisException in com.scriptbasic.syntax.commands
Methods in com.scriptbasic.syntax.commands that throw AnalysisException Modifier and Type Method Description CommandAbstractCommandAnalyzerGlobalLocal. analyze()CommandCommandAnalyzerCall. analyze()CommandCommandAnalyzerCase. analyze()CommandCommandAnalyzerDSL. analyze()CommandCommandAnalyzerElse. analyze()CommandCommandAnalyzerElseIf. analyze()CommandCommandAnalyzerEnd. analyze()CommandCommandAnalyzerEndIf. analyze()CommandCommandAnalyzerEndSub. analyze()CommandCommandAnalyzerFor. analyze()CommandCommandAnalyzerIf. analyze()CommandCommandAnalyzerLet. analyze()CommandCommandAnalyzerMethod. analyze()CommandCommandAnalyzerNext. analyze()CommandCommandAnalyzerPrint. analyze()CommandCommandAnalyzerReturn. analyze()CommandCommandAnalyzerSelect. analyze()CommandCommandAnalyzerSub. analyze()CommandCommandAnalyzerUse. analyze()CommandCommandAnalyzerWend. analyze()CommandCommandAnalyzerWhile. analyze()protected ExpressionAbstractCommandAnalyzerIfKind. analyzeCondition()Analyse expression and THEN keywordprotected ExpressionAbstractCommandAnalyzer. analyzeExpression()protected ExpressionListAbstractCommandAnalyzer. analyzeExpressionList()protected LeftValueAbstractCommandAnalyzer. analyzeSimpleLeftValue()protected LeftValueListAbstractCommandAnalyzer. analyzeSimpleLeftValueList()protected voidAbstractCommandAnalyzer. assertKeyWord(java.lang.String keyword)Ensures that the appropriate keyword is on the line.protected voidAbstractCommandAnalyzer. consumeEndOfStatement()Checks that there are no extra characters when the line analyzer expects it has finished analyzing the statement.CommandBasicCommandFactory. create(java.lang.String commandKeyword)protected booleanAbstractCommandAnalyzer. isKeyWord(java.lang.String keyword)protected AbstractCommandIfElseKindAbstractCommandAnalyzerIfElseKind. registerAndPopNode(AbstractCommandIfElseKind node)protected voidAbstractCommandAnalyzerIfElseKind. registerAndSwapNode(AbstractCommandIfElseKind node) -
Uses of AnalysisException in com.scriptbasic.syntax.expression
Methods in com.scriptbasic.syntax.expression that throw AnalysisException Modifier and Type Method Description ExpressionAbstractExpressionAnalyzer. analyze()ExpressionListBasicExpressionListAnalyzer. analyze()ExpressionBasicTagAnalyzer. analyze() -
Uses of AnalysisException in com.scriptbasic.syntax.leftvalue
Methods in com.scriptbasic.syntax.leftvalue that throw AnalysisException Modifier and Type Method Description LeftValueAbstractLeftValueAnalyzer. analyze()LeftValueBasicSimpleLeftValueAnalyzer. analyze()LeftValueListBasicSimpleLeftValueListAnalyzer. analyze() -
Uses of AnalysisException in com.scriptbasic.utility
Methods in com.scriptbasic.utility that throw AnalysisException Modifier and Type Method Description static voidLexUtility. checkLexeme(LexicalAnalyzer analyzer, java.lang.String lexeme, java.lang.String exceptionText)static java.lang.StringExpressionUtility. convertToString(Expression expression)Convert an expression of the form 'a.b.c.d' into a String.static LexicalElementLexUtility. get(LexicalAnalyzer lexicalAnalyzer)static booleanLexUtility. isLexeme(LexicalAnalyzer analyzer, java.lang.String lexeme)static LexicalElementLexUtility. peek(LexicalAnalyzer lexicalAnalyzer)