Package com.scriptbasic.interfaces
Interface LineOrientedLexicalAnalyzer
- All Superinterfaces:
LexicalAnalyzer
- All Known Implementing Classes:
BasicLexicalAnalyzer,ScriptBasicLexicalAnalyzer
A lexical analyzer that supports syntax analyzers that analyze line oriented
language.
- Author:
- Peter Verhas
-
Method Summary
Modifier and TypeMethodDescriptionvoidResets the state of the lexical analyzer so that the internal lexeme pointer is reset to the first lexeme of the actual line and the next call toLexicalAnalyzer.get()will return again the first lexeme of the line.Methods inherited from interface com.scriptbasic.interfaces.LexicalAnalyzer
get, peek, registerElementAnalyzer
-
Method Details
-
resetLine
void resetLine()Resets the state of the lexical analyzer so that the internal lexeme pointer is reset to the first lexeme of the actual line and the next call toLexicalAnalyzer.get()will return again the first lexeme of the line.
-