Package com.scriptbasic.interfaces
Interface LineOrientedLexicalAnalyzer
- All Superinterfaces:
LexicalAnalyzer
- All Known Implementing Classes:
BasicLexicalAnalyzer,ScriptBasicLexicalAnalyzer
public interface LineOrientedLexicalAnalyzer extends LexicalAnalyzer
A lexical analyzer that supports syntax analyzers that analyze line oriented
language.
- Author:
- Peter Verhas
-
Method Summary
Modifier and Type Method Description voidresetLine()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.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.
-