Pol  Rev 533
CompilerContext Class Reference

#include <compctx.h>

+ Collaboration diagram for CompilerContext:

List of all members.

Public Member Functions

 CompilerContext ()
 CompilerContext (const std::string &filename, int dbg_filenum, const char *s)
 CompilerContext (const CompilerContext &)
CompilerContextoperator= (const CompilerContext &)
void printOn (std::ostream &os) const
void printOnShort (std::ostream &os) const
int skipcomments ()
void skipws ()

Public Attributes

int dbg_filenum
std::string filename
int line
const char * s
const char * s_begin

Detailed Description

Definition at line 13 of file compctx.h.


Constructor & Destructor Documentation

Definition at line 16 of file compctx.cpp.

CompilerContext::CompilerContext ( const std::string &  filename,
int  dbg_filenum,
const char *  s 
)

Definition at line 25 of file compctx.cpp.

Definition at line 34 of file compctx.cpp.


Member Function Documentation

CompilerContext & CompilerContext::operator= ( const CompilerContext rhs)

Definition at line 43 of file compctx.cpp.

References dbg_filenum, filename, line, s, and s_begin.

void CompilerContext::printOn ( std::ostream &  os) const

Definition at line 112 of file compctx.cpp.

References filename, and line.

Referenced by Compiler::emit_function(), and operator<<().

+ Here is the caller graph for this function:

void CompilerContext::printOnShort ( std::ostream &  os) const

Definition at line 117 of file compctx.cpp.

References filename, and line.

Referenced by Compiler::compile(), and Compiler::getStatement().

+ Here is the caller graph for this function:

Definition at line 67 of file compctx.cpp.

References eatToCommentEnd(), eatToEndOfLine(), line, and s.

Referenced by Compiler::getStatement(), and Compiler::readCurLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Definition at line 54 of file compctx.cpp.

References line, and s.

Referenced by Compiler::getStatement(), and Compiler::readCurLine().

+ Here is the caller graph for this function:


Member Data Documentation


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