Uses of Class
com.scriptbasic.interfaces.AnalysisException
-
-
Uses of AnalysisException in com.scriptbasic.context
Methods in com.scriptbasic.context that throw AnalysisException Modifier and Type Method Description static ContextContextBuilder. from(SourceReader sourceReader, java.io.Reader input, java.io.Writer output, java.io.Writer error)static ContextContextBuilder. from(java.lang.String string) -
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()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()<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 protected ExpressionAbstractCommandAnalyzerIfKind. analizeLine()CommandAbstractCommandAnalyzerGlobalLocal. analyze()CommandAbstractCommandAnalyzerIfKind. analyze()CommandCommandAnalyzerCall. analyze()CommandCommandAnalyzerDSL. analyze()CommandCommandAnalyzerElse. analyze()CommandCommandAnalyzerEndIf. analyze()CommandCommandAnalyzerEndSub. analyze()CommandCommandAnalyzerFor. analyze()CommandCommandAnalyzerLet. analyze()CommandCommandAnalyzerMethod. analyze()CommandCommandAnalyzerNext. analyze()CommandCommandAnalyzerPrint. analyze()CommandCommandAnalyzerReturn. analyze()CommandCommandAnalyzerSub. analyze()CommandCommandAnalyzerUse. analyze()CommandCommandAnalyzerWend. analyze()CommandCommandAnalyzerWhile. analyze()protected 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. consumeEndOfLine()Checks that there are no extra characters on a program line when the line analyzer thinks that it has finished analyzing the line.CommandBasicCommandFactory. create(java.lang.String commandKeyword)protected abstract CommandAbstractCommandAnalyzerIfKind. createNode(Expression condition)protected CommandCommandAnalyzerElseIf. createNode(Expression condition)protected booleanAbstractCommandAnalyzer. isKeyWord(java.lang.String keyword)protected voidAbstractCommandAnalyzerIfElseKind. 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)
-