class
AbsFileStream
: public TokenStream
(Return to index)
A stream of input tokens.
The source of tokens is an abstract file stream.
Type: |
Abstract |
Superclasses: |
public TokenStream |
Include file: |
./Parser/AbsFileStream.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
- Protected Members:
-
Token readNumber
()
;
-
Token readString
()
;
-
Token readWord
()
;
-
bool skipComments
()
;
-
string line
;
-
int curr_char
;
-
string stream_name
;
-
int curr_line
;
-
bool put_back_flag
;
-
Token put_back
;
-
RCObject& operator=
(const RCObject&)
;
Documentation:
- Public members:
-
AbsFileStream
(const string&)
;
- Constructor.
Store stream name.
-
virtual bool fillLine
()
= 0
;
- Read next input line.
-
virtual Token readToken
()
;
- Read single token from file.
Returns false when end of file is hit.
- Protected members:
Documentation generated by fci on Mon Feb 7 11:41:30 2000