#include <SourceLocation.hpp>
Public Member Functions | |
SourceLocation () | |
size_t | getLineNumber () const |
size_t | getOffset () const |
size_t | getEndLine () const |
size_t | getEndOffset () const |
bool | isLimitedTrace () const |
void | setLineNumber (size_t l) |
void | setOffset (size_t l) |
void | setEndLine (size_t l) |
void | setEndOffset (size_t l) |
void | setLimitedTrace (bool b) |
void | setStart (SourceLocation &l) |
void | setEnd (SourceLocation &l) |
void | setStart (size_t line, size_t offset) |
void | setEnd (size_t line, size_t offset) |
void | setLocation (size_t line, size_t offset, size_t end, size_t end_offset, bool limited_trace=false) |
void | setLocation (SourceLocation &l) |
const SourceLocation & | operator= (const SourceLocation &l) |
Protected Attributes | |
size_t | startLine |
size_t | startOffset |
size_t | endLine |
size_t | endOffset |
bool | limitedTrace |
Definition at line 48 of file SourceLocation.hpp.
|
inline |
Definition at line 51 of file SourceLocation.hpp.
|
inline |
Definition at line 54 of file SourceLocation.hpp.
References endLine.
Referenced by RexxSource::addClause(), dumpTokensImpl(), RexxSource::extract(), RexxSource::extractSource(), RexxCode::getSource(), RexxSource::labelNew(), and setEnd().
|
inline |
Definition at line 55 of file SourceLocation.hpp.
References endOffset.
Referenced by RexxSource::addClause(), dumpTokensImpl(), RexxSource::extract(), RexxSource::extractSource(), RexxCode::getSource(), RexxSource::labelNew(), and setEnd().
|
inline |
Definition at line 52 of file SourceLocation.hpp.
References startLine.
Referenced by RexxSource::addClause(), RexxSource::addText(), RexxSource::createStackFrame(), dumpTokensImpl(), RexxSource::errorPosition(), RexxSource::extract(), RexxSource::extractSource(), RexxInstruction::getLineNumber(), RexxInstructionIf::RexxInstructionIf(), setStart(), RexxSource::subExpression(), and RexxSource::traceBack().
|
inline |
Definition at line 53 of file SourceLocation.hpp.
References startOffset.
Referenced by RexxSource::addClause(), dumpTokensImpl(), RexxSource::errorPosition(), RexxSource::extract(), RexxSource::extractSource(), RexxInstructionIf::RexxInstructionIf(), setStart(), and RexxSource::subExpression().
|
inline |
Definition at line 56 of file SourceLocation.hpp.
References limitedTrace.
Referenced by RexxSource::errorToken(), and RexxSource::extract().
|
inline |
Definition at line 110 of file SourceLocation.hpp.
References endLine, endOffset, limitedTrace, startLine, and startOffset.
|
inline |
Definition at line 81 of file SourceLocation.hpp.
References endLine, endOffset, line, startLine, and startOffset.
|
inline |
Definition at line 70 of file SourceLocation.hpp.
References getEndLine(), and getEndOffset().
Referenced by RexxSource::endLocation(), RexxSource::extractSource(), RexxSource::nextClause(), RexxToken::setEnd(), RexxInstruction::setEnd(), RexxClause::setEnd(), and RexxSource::subExpression().
|
inline |
Definition at line 60 of file SourceLocation.hpp.
References endLine.
Referenced by RexxSource::extractSource(), and RexxCode::getSource().
|
inline |
Definition at line 61 of file SourceLocation.hpp.
References endOffset.
Referenced by RexxSource::extractSource(), RexxCode::getSource(), and RexxSource::sourceNextToken().
|
inline |
Definition at line 62 of file SourceLocation.hpp.
References limitedTrace.
Referenced by RexxSource::comment(), RexxSource::errorToken(), and RexxSource::sourceLiteral().
|
inline |
Definition at line 58 of file SourceLocation.hpp.
References startLine.
Referenced by RexxSource::extractSource().
|
inline |
Definition at line 92 of file SourceLocation.hpp.
References endLine, endOffset, limitedTrace, line, startLine, and startOffset.
Referenced by RexxSource::sourceNextToken().
|
inline |
Definition at line 101 of file SourceLocation.hpp.
References endLine, endOffset, limitedTrace, startLine, and startOffset.
|
inline |
Definition at line 59 of file SourceLocation.hpp.
References startOffset.
Referenced by RexxSource::extractSource().
|
inline |
Definition at line 75 of file SourceLocation.hpp.
References line, startLine, and startOffset.
|
inline |
Definition at line 64 of file SourceLocation.hpp.
References getLineNumber(), getOffset(), startLine, and startOffset.
Referenced by RexxInstruction::RexxInstruction(), RexxToken::setStart(), RexxInstruction::setStart(), RexxClause::setStart(), RexxSource::startLocation(), and RexxClause::trim().
|
protected |
Definition at line 123 of file SourceLocation.hpp.
Referenced by getEndLine(), operator=(), setEnd(), setEndLine(), and setLocation().
|
protected |
Definition at line 124 of file SourceLocation.hpp.
Referenced by getEndOffset(), operator=(), setEnd(), setEndOffset(), and setLocation().
|
protected |
Definition at line 125 of file SourceLocation.hpp.
Referenced by isLimitedTrace(), operator=(), setLimitedTrace(), and setLocation().
|
protected |
Definition at line 121 of file SourceLocation.hpp.
Referenced by getLineNumber(), operator=(), setEnd(), setLineNumber(), setLocation(), and setStart().
|
protected |
Definition at line 122 of file SourceLocation.hpp.
Referenced by getOffset(), operator=(), setEnd(), setLocation(), setOffset(), and setStart().