java.lang.Object
simula.compiler.parsing.DefaultScanner
- Direct Known Subclasses:
SimulaScanner
A Default Scanner.
Link to GitHub: Source File.
- Author:
- Øystein Myhre Andersen
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Default constructor.DefaultScanner
(Reader reader) Constructs a new Default Scanner that produces Tokens scanned from the specified source. -
Method Summary
-
Field Details
-
lineNumberReader
The LineNumberReader.
-
-
Constructor Details
-
DefaultScanner
protected DefaultScanner()Default constructor. -
DefaultScanner
Constructs a new Default Scanner that produces Tokens scanned from the specified source.- Parameters:
reader
- The character source to scan
-
-
Method Details
-
nextToken
Returns the next Token.- Returns:
- the next Token
-