GME  13
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
DLGLexerBase Class Reference

#include <DLexerBase.h>

Inheritance diagram for DLGLexerBase:
Inheritance graph
[legend]
Collaboration diagram for DLGLexerBase:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ANTLRTokenType erraction ()
virtual void advance (void)=0
void skip (void)
void more (void)
void mode (int k)
void saveState (DLGState *)
void restoreState (DLGState *)
virtual ANTLRTokenType nextTokenType (void)=0
void replchar (DLGChar c)
void replstr (DLGChar *s)
virtual int err_in ()
virtual void errstd (char *)
int line ()
void set_line (int newValue)
virtual void newline ()
DLGCharlextext ()
int begcol ()
int endcol ()
void set_begcol (int a)
void set_endcol (int a)
DLGCharbegexpr ()
DLGCharendexpr ()
int bufsize ()
void setToken (ANTLRAbstractToken *t)
void setInputStream (DLGInputStream *)
 DLGLexerBase (DLGInputStream *in, unsigned bufsize=2000, int interactive=0, int track_columns=0)
virtual ~DLGLexerBase ()
virtual void panic (char *msg)
void trackColumns ()
virtual ANTLRParsersetParser (ANTLRParser *p)
virtual ANTLRParsergetParser ()
virtual int debugLexer (int value)

Public Attributes

int lexErrCount

Protected Member Functions

virtual _ANTLRTokenPtr getToken ()

Protected Attributes

DLGInputStreaminput
int interactive
int track_columns
DLGChar_lextext
DLGChar_begexpr
DLGChar_endexpr
int _bufsize
int _begcol
int _endcol
int _line
int ch
int bufovf
int charfull
DLGCharnextpos
int cl
int automaton
int add_erase
DLGChar ebuf [70]
_ANTLRTokenPtr token_to_fill
int debugLexerFlag
ANTLRParserparser

Detailed Description

Definition at line 118 of file DLexerBase.h.


Constructor & Destructor Documentation

DLGLexerBase::DLGLexerBase ( DLGInputStream in,
unsigned  bufsize = 2000,
int  interactive = 0,
int  track_columns = 0 
)

Definition at line 54 of file DLexerBase.cpp.

virtual DLGLexerBase::~DLGLexerBase ( ) [inline, virtual]

Definition at line 180 of file DLexerBase.h.


Member Function Documentation

virtual void DLGLexerBase::advance ( void  ) [pure virtual]
int DLGLexerBase::begcol ( ) [inline]

Definition at line 165 of file DLexerBase.h.

Definition at line 169 of file DLexerBase.h.

int DLGLexerBase::bufsize ( ) [inline]

Definition at line 171 of file DLexerBase.h.

virtual int DLGLexerBase::debugLexer ( int  value) [virtual]
int DLGLexerBase::endcol ( ) [inline]

Definition at line 166 of file DLexerBase.h.

Definition at line 170 of file DLexerBase.h.

int DLGLexerBase::err_in ( ) [virtual]

Definition at line 201 of file DLexerBase.cpp.

Definition at line 209 of file DLexerBase.cpp.

void DLGLexerBase::errstd ( char *  s) [virtual]

Definition at line 191 of file DLexerBase.cpp.

virtual ANTLRParser* DLGLexerBase::getParser ( ) [virtual]

Reimplemented from ANTLRTokenStream.

_ANTLRTokenPtr DLGLexerBase::getToken ( ) [protected, virtual]

Implements ANTLRTokenStream.

Definition at line 218 of file DLexerBase.cpp.

Definition at line 163 of file DLexerBase.h.

int DLGLexerBase::line ( ) [inline]

Definition at line 160 of file DLexerBase.h.

void DLGLexerBase::mode ( int  k)
void DLGLexerBase::more ( void  )

Definition at line 149 of file DLexerBase.cpp.

virtual void DLGLexerBase::newline ( ) [inline, virtual]

Definition at line 162 of file DLexerBase.h.

virtual ANTLRTokenType DLGLexerBase::nextTokenType ( void  ) [pure virtual]
void DLGLexerBase::panic ( char *  msg) [virtual]

Definition at line 227 of file DLexerBase.cpp.

Definition at line 156 of file DLexerBase.cpp.

Definition at line 169 of file DLexerBase.cpp.

Definition at line 117 of file DLexerBase.cpp.

void DLGLexerBase::saveState ( DLGState state)

Definition at line 93 of file DLexerBase.cpp.

void DLGLexerBase::set_begcol ( int  a) [inline]

Definition at line 167 of file DLexerBase.h.

void DLGLexerBase::set_endcol ( int  a) [inline]

Definition at line 168 of file DLexerBase.h.

void DLGLexerBase::set_line ( int  newValue) [inline]

Definition at line 161 of file DLexerBase.h.

Definition at line 84 of file DLexerBase.cpp.

virtual ANTLRParser* DLGLexerBase::setParser ( ANTLRParser p) [virtual]

Reimplemented from ANTLRTokenStream.

Definition at line 173 of file DLexerBase.h.

void DLGLexerBase::skip ( void  )

Definition at line 142 of file DLexerBase.cpp.

void DLGLexerBase::trackColumns ( ) [inline]

Definition at line 182 of file DLexerBase.h.


Member Data Documentation

Definition at line 130 of file DLexerBase.h.

Definition at line 127 of file DLexerBase.h.

Definition at line 129 of file DLexerBase.h.

Definition at line 131 of file DLexerBase.h.

Definition at line 128 of file DLexerBase.h.

Definition at line 126 of file DLexerBase.h.

int DLGLexerBase::_line [protected]

Definition at line 132 of file DLexerBase.h.

Definition at line 139 of file DLexerBase.h.

Definition at line 138 of file DLexerBase.h.

Definition at line 134 of file DLexerBase.h.

int DLGLexerBase::ch [protected]

Definition at line 133 of file DLexerBase.h.

Definition at line 135 of file DLexerBase.h.

int DLGLexerBase::cl [protected]

Definition at line 137 of file DLexerBase.h.

Definition at line 144 of file DLexerBase.h.

DLGChar DLGLexerBase::ebuf[70] [protected]

Definition at line 140 of file DLexerBase.h.

Definition at line 123 of file DLexerBase.h.

Definition at line 124 of file DLexerBase.h.

Definition at line 190 of file DLexerBase.h.

Definition at line 136 of file DLexerBase.h.

Definition at line 145 of file DLexerBase.h.

Definition at line 141 of file DLexerBase.h.

Definition at line 125 of file DLexerBase.h.


The documentation for this class was generated from the following files: