|
Pol
Rev 533
|
#include <compctx.h>
Collaboration diagram for CompilerContext:Public Member Functions | |
| CompilerContext () | |
| CompilerContext (const std::string &filename, int dbg_filenum, const char *s) | |
| CompilerContext (const CompilerContext &) | |
| CompilerContext & | operator= (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 |
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.
| CompilerContext::CompilerContext | ( | const CompilerContext & | ctx | ) |
Definition at line 34 of file compctx.cpp.
| 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:| int CompilerContext::skipcomments | ( | ) |
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:| void CompilerContext::skipws | ( | ) |
Definition at line 54 of file compctx.cpp.
Referenced by Compiler::getStatement(), and Compiler::readCurLine().
Here is the caller graph for this function:Definition at line 33 of file compctx.h.
Referenced by Compiler::getUserArgs(), operator=(), and EScriptProgram::setcontext().
| std::string CompilerContext::filename |
Definition at line 29 of file compctx.h.
Referenced by Compiler::_getStatement(), Compiler::emitFileLine(), Compiler::emitFileLineIfFileChanged(), operator=(), printOn(), printOnShort(), and Compiler::validate().
Definition at line 28 of file compctx.h.
Referenced by Compiler::_getStatement(), eatToCommentEnd(), Compiler::emitFileLine(), Compiler::getUserArgs(), operator=(), printOn(), printOnShort(), EScriptProgram::setcontext(), skipcomments(), skipws(), and Compiler::validate().
| const char* CompilerContext::s |
Definition at line 27 of file compctx.h.
Referenced by Compiler::_getStatement(), Compiler::compileContext(), eatToCommentEnd(), eatToEndOfLine(), Compiler::forward_read_function(), Compiler::handleBlock(), Compiler::handleBracketedFunction2(), Compiler::handleBracketedIf(), Compiler::handleProgram(), Compiler::handleSwitch(), SmartParser::IIP(), operator=(), Compiler::readblock(), Compiler::readCurLine(), skipcomments(), skipws(), and SmartParser::tryLiteral().
| const char* CompilerContext::s_begin |
Definition at line 31 of file compctx.h.
Referenced by Compiler::_getStatement(), Compiler::forward_read_function(), Compiler::handleProgram(), and operator=().