133 const unsigned char cr;
155 void source(std::istream *);
Codes
Definition: scanner.h:97
Definition: scanner.h:107
SymbolDatum BeginProcedureSymbol
Definition: scanner.h:143
Definition: scanner.h:101
std::string context
Current context.
Definition: scanner.h:46
Definition: scanner.h:109
std::istream * GetSource(void)
Return input stream.
Definition: scanner.h:160
std::string old_context
Definition: scanner.h:47
Scanner(std::istream *)
Initialise scanner with a stream.
Definition: scanner.cc:89
Definition: scanner.h:104
const unsigned char tab
Definition: scanner.h:131
unsigned long line
Current line number.
Definition: scanner.h:44
Definition: scanner.h:110
Definition: scanner.h:105
void source(std::istream *)
Set new input stream.
Definition: scanner.cc:492
Definition: scanner.h:108
bool operator()(Token &)
Scan input until the next Token.
Definition: scanner.cc:505
unsigned long get_col() const
Return position in current line in input stream.
Definition: scanner.h:183
void clear_context()
Definition: scanner.h:188
int digval(unsigned char c) const
Definition: scanner.h:135
Definition: scanner.h:106
Definition: scanner.h:115
const unsigned char endof
Definition: scanner.h:134
SymbolDatum EndProcedureSymbol
Definition: scanner.h:144
Definition: scanner.h:118
const unsigned char cr
Definition: scanner.h:133
SymbolDatum EndArraySymbol
Definition: scanner.h:142
Definition: scanner.h:113
CharCode code
Definition: scanner.h:42
Definition: charcode.h:39
Definition: scanner.h:121
const unsigned char endoln
Definition: scanner.h:132
Definition: scanner.h:111
Definition: scanner.h:100
Definition: scanner.h:119
Definition: scanner.h:103
std::istream * in
Definition: scanner.h:40
Definition: scanner.h:116
Definition: scanner.h:102
ScanStates
Definition: scanner.h:48
Definition: scanner.h:114
Definition: symboldatum.h:51
void print_error(const char *)
Issue an error message.
Definition: scanner.cc:783
SymbolDatum BeginArraySymbol
Definition: scanner.h:141
A type-independent container for C++-types.
Definition: token.h:68
unsigned long get_line() const
Return current line number in input stream.
Definition: scanner.h:175
Definition: scanner.h:122
Definition: scanner.h:120
const Name c("c")
Specific to Izhikevich 2003.
Definition: nest_names.h:62
SymbolDatum EndSymbol
Definition: scanner.h:145
const unsigned char space
Definition: scanner.h:130
unsigned long col
Current column in line.
Definition: scanner.h:45
Definition: scanner.h:112
enum ScanStates trans[lastscanstate][lastcode]
Definition: scanner.h:125
Definition: scanner.h:117