ooRexx
4.2.0-source
About: ooRexx (Open Object Rexx) is a free implementation of Object Rexx. Object Rexx is an enhancement of the classic Rexx interpreter; a full-featured programming language with a human-oriented syntax.
![]() ![]() |
#include <SourceLocation.hpp>
Public Member Functions | |
size_t | getLineNumber () |
size_t | getOffset () |
size_t | getEndLine () |
size_t | getEndOffset () |
void | setLineNumber (size_t l) |
void | setOffset (size_t l) |
void | setEndLine (size_t l) |
void | setEndOffset (size_t l) |
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) |
void | setLocation (SourceLocation &l) |
const SourceLocation & | operator= (const SourceLocation &l) |
Protected Attributes | |
size_t | startLine |
size_t | startOffset |
size_t | endLine |
size_t | endOffset |
Definition at line 48 of file SourceLocation.hpp.
|
inline |
Definition at line 53 of file SourceLocation.hpp.
References endLine.
Referenced by RexxSource::extract(), RexxSource::extractSource(), RexxCode::getSource(), RexxSource::labelNew(), and setEnd().
|
inline |
Definition at line 54 of file SourceLocation.hpp.
References endOffset.
Referenced by RexxSource::extract(), RexxSource::extractSource(), RexxCode::getSource(), RexxSource::labelNew(), and setEnd().
|
inline |
Definition at line 51 of file SourceLocation.hpp.
References startLine.
Referenced by RexxSource::createStackFrame(), RexxSource::errorPosition(), RexxSource::extract(), RexxSource::extractSource(), RexxInstruction::getLineNumber(), RexxInstructionIf::RexxInstructionIf(), setStart(), RexxSource::subExpression(), and RexxSource::traceBack().
|
inline |
Definition at line 52 of file SourceLocation.hpp.
References startOffset.
Referenced by RexxSource::errorPosition(), RexxSource::extract(), RexxSource::extractSource(), RexxInstructionIf::RexxInstructionIf(), setStart(), and RexxSource::subExpression().
|
inline |
Definition at line 105 of file SourceLocation.hpp.
References endLine, endOffset, startLine, and startOffset.
|
inline |
Definition at line 78 of file SourceLocation.hpp.
References endLine, endOffset, line, startLine, and startOffset.
|
inline |
Definition at line 67 of file SourceLocation.hpp.
References getEndLine(), and getEndOffset().
Referenced by RexxSource::endLocation(), RexxSource::extractSource(), RexxSource::nextClause(), RexxClause::setEnd(), RexxInstruction::setEnd(), RexxToken::setEnd(), and RexxSource::subExpression().
|
inline |
Definition at line 58 of file SourceLocation.hpp.
References endLine.
Referenced by RexxSource::extractSource(), and RexxCode::getSource().
|
inline |
Definition at line 59 of file SourceLocation.hpp.
References endOffset.
Referenced by RexxSource::extractSource(), RexxCode::getSource(), and RexxSource::sourceNextToken().
|
inline |
Definition at line 56 of file SourceLocation.hpp.
References startLine.
Referenced by RexxSource::extractSource().
|
inline |
Definition at line 89 of file SourceLocation.hpp.
References endLine, endOffset, line, startLine, and startOffset.
Referenced by RexxSource::sourceNextToken().
|
inline |
Definition at line 97 of file SourceLocation.hpp.
References endLine, endOffset, startLine, and startOffset.
|
inline |
Definition at line 57 of file SourceLocation.hpp.
References startOffset.
Referenced by RexxSource::extractSource().
|
inline |
Definition at line 72 of file SourceLocation.hpp.
References line, startLine, and startOffset.
|
inline |
Definition at line 61 of file SourceLocation.hpp.
References getLineNumber(), getOffset(), startLine, and startOffset.
Referenced by RexxInstruction::RexxInstruction(), RexxClause::setStart(), RexxInstruction::setStart(), RexxToken::setStart(), and RexxClause::trim().
|
protected |
Definition at line 117 of file SourceLocation.hpp.
Referenced by getEndLine(), operator=(), setEnd(), setEndLine(), and setLocation().
|
protected |
Definition at line 118 of file SourceLocation.hpp.
Referenced by getEndOffset(), operator=(), setEnd(), setEndOffset(), and setLocation().
|
protected |
Definition at line 115 of file SourceLocation.hpp.
Referenced by getLineNumber(), operator=(), setEnd(), setLineNumber(), setLocation(), and setStart().
|
protected |
Definition at line 116 of file SourceLocation.hpp.
Referenced by getOffset(), operator=(), setEnd(), setLocation(), setOffset(), and setStart().