gamma ~master (2021-10-12T13:52:47Z)
Dub
Repo
Scanner
gamma
input
epsilang
Scanner
Undocumented in source.
class
Scanner {
static const
char
END
;
static const
char
LITERAL
;
static const
char
NUMBER
;
static const
char
LEXICAL_VARIABLE
;
static const
char
SYNTACTIC_VARIABLE
;
this
(File input);
char
read
();
Position
getPosition
();
string
getRepresentation
();
int
getValue
();
int
getErrorCount
();
}
Constructors
this
this
(File input)
Undocumented in source.
Members
Functions
getErrorCount
int
getErrorCount
()
Undocumented in source. Be warned that the author may not have intended to support it.
getPosition
Position
getPosition
()
Undocumented in source. Be warned that the author may not have intended to support it.
getRepresentation
string
getRepresentation
()
Undocumented in source. Be warned that the author may not have intended to support it.
getValue
int
getValue
()
Undocumented in source. Be warned that the author may not have intended to support it.
read
char
read
()
@return the recognized token, coded as a single character
Static variables
END
char
END
;
Undocumented in source.
LEXICAL_VARIABLE
char
LEXICAL_VARIABLE
;
Undocumented in source.
LITERAL
char
LITERAL
;
Undocumented in source.
NUMBER
char
NUMBER
;
Undocumented in source.
SYNTACTIC_VARIABLE
char
SYNTACTIC_VARIABLE
;
Undocumented in source.
Meta
Source
See Implementation
gamma
input
epsilang
Scanner
modules
Analyzer
Scanner