7 #ifndef INITIAL_BUFFER_SIZE 8 #define INITIAL_BUFFER_SIZE 4096 66 virtual inline void backup(
int amount) {
140 if ((
bufpos + 1) >= len) {
164 int startcolumn,
int buffersize) :
181 int startcolumn,
int buffersize) :
186 ReInit(str, startline, startcolumn, buffersize);
198 int startcolumn,
int buffersize) :
222 virtual void ReInit(
ReaderStream *input_stream,
int startline,
int startcolumn,
int buffersize);
233 int startcolumn,
int buffersize);
virtual int getEndColumn()
virtual JAVACC_STRING_TYPE GetImage()
#define JAVACC_STRING_TYPE
virtual bool getTrackLineColumn()
virtual void ExpandBuff(bool wrapAround)
virtual void setTrackLineColumn(bool val)
virtual void adjustBeginLineColumn(int newLine, int newCol)
virtual void DeleteBuffers()
virtual int getBeginColumn()
#define INITIAL_BUFFER_SIZE
virtual void ReInit(ReaderStream *input_stream)
CharStream(const JAVACC_CHAR_TYPE *buf, int sz, int startline, int startcolumn, int buffersize)
CharStream(const JAVACC_CHAR_TYPE *buf, int sz, int startline, int startcolumn)
virtual JAVACC_CHAR_TYPE BeginToken()
CharStream(ReaderStream *input_stream)
virtual bool endOfInput()
CharStream(const JAVACC_STRING_TYPE &str, int startline, int startcolumn)
virtual void ReInit(ReaderStream *input_stream, int startline, int startcolumn, int buffersize)
CharStream(ReaderStream *input_stream, int startline, int startcolumn, int buffersize)
virtual JAVACC_STRING_TYPE GetSuffix(int len)
JAVACC_CHAR_TYPE * buffer
virtual void backup(int amount)
virtual JAVACC_CHAR_TYPE readChar()
std::vector< std::string > column
ReaderStream * inputStream
CharStream(const JAVACC_STRING_TYPE &str, int startline, int startcolumn, int buffersize)
virtual void UpdateLineColumn(JAVACC_CHAR_TYPE c)
CharStream(ReaderStream *input_stream, int startline, int startcolumn)
int getBufcolumn(int pos)
virtual void ReInit(ReaderStream *input_stream, int startline, int startcolumn)
virtual void ReInit(const JAVACC_STRING_TYPE &str, int startline, int startcolumn)
virtual int getBeginLine()