#include <Clause.hpp>
Public Attributes | |
SourceLocation | clauseLocation |
size_t | current |
size_t | first |
RexxArray * | tokens |
size_t | size |
size_t | free |
RexxToken * | cachedToken |
Public Attributes inherited from RexxInternalObject | |
ObjectHeader | header |
RexxBehaviour * | behaviour |
Additional Inherited Members | |
Static Public Member Functions inherited from RexxInternalObject | |
static size_t | getObjectHeaderSize () |
Protected Member Functions inherited from RexxVirtualBase | |
virtual | ~RexxVirtualBase () |
virtual void | baseVirtual () |
Definition at line 52 of file Clause.hpp.
RexxClause::RexxClause | ( | ) |
Definition at line 54 of file Clause.cpp.
References cachedToken, current, first, free, INITIAL_SIZE, new_arrayOfObject(), OREF_NULL, OrefSet, size, T_Token, and tokens.
|
inline |
Definition at line 60 of file Clause.hpp.
|
inline |
Definition at line 71 of file Clause.hpp.
References current, and first.
Referenced by RexxSource::firstToken().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 84 of file Clause.cpp.
References cleanUpFlatten, flatten_reference, and setUpFlatten.
|
inline |
Definition at line 72 of file Clause.hpp.
References clauseLocation.
Referenced by RexxSource::comment(), RexxSource::nextClause(), RexxSource::packLiteral(), RexxInstruction::RexxInstruction(), RexxSource::sourceLiteral(), and RexxSource::sourceNextToken().
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 68 of file Clause.cpp.
References memory_mark, and tokens.
|
virtual |
Reimplemented from RexxVirtualBase.
Definition at line 76 of file Clause.cpp.
References memory_mark_general, and tokens.
|
inline |
Definition at line 76 of file Clause.hpp.
References current.
Referenced by RexxSource::markPosition().
void RexxClause::newClause | ( | ) |
Definition at line 130 of file Clause.cpp.
References cachedToken, current, first, free, and OREF_NULL.
Referenced by RexxSource::nextClause().
RexxToken * RexxClause::newToken | ( | int | classId, |
int | subclass, | ||
RexxString * | value, | ||
SourceLocation & | l | ||
) |
Definition at line 143 of file Clause.cpp.
References cachedToken, EXTEND_SIZE, free, RexxArray::get(), RexxArray::join(), new_arrayOfObject(), OREF_NULL, OrefSet, size, T_Token, and tokens.
Referenced by RexxSource::sourceLiteral(), and RexxSource::sourceNextToken().
|
inline |
Definition at line 75 of file Clause.hpp.
References current, RexxArray::get(), and tokens.
Referenced by nextRealToken(), and RexxSource::nextToken().
RexxToken * RexxClause::nextRealToken | ( | ) |
Definition at line 177 of file Clause.cpp.
References RexxToken::classId, next(), and TOKEN_BLANK.
Referenced by RexxSource::nextReal().
|
inline |
Definition at line 56 of file Clause.hpp.
|
inline |
Definition at line 57 of file Clause.hpp.
|
inline |
Definition at line 55 of file Clause.hpp.
void * RexxClause::operator new | ( | size_t | size | ) |
Definition at line 190 of file Clause.cpp.
References new_object(), and T_Clause.
|
inline |
Definition at line 74 of file Clause.hpp.
References current.
Referenced by RexxSource::previousToken().
|
inline |
Definition at line 77 of file Clause.hpp.
References current.
Referenced by RexxSource::resetPosition().
void RexxClause::setEnd | ( | size_t | line, |
size_t | offset | ||
) |
Definition at line 106 of file Clause.cpp.
References clauseLocation, line, and SourceLocation::setEnd().
Referenced by RexxSource::comment(), RexxSource::nextLine(), RexxSource::sourceLiteral(), and RexxSource::sourceNextToken().
|
inline |
Definition at line 73 of file Clause.hpp.
References clauseLocation.
Referenced by RexxSource::nextClause().
void RexxClause::setStart | ( | size_t | line, |
size_t | offset | ||
) |
Definition at line 96 of file Clause.cpp.
References clauseLocation, and SourceLocation::setStart().
Referenced by RexxSource::nextClause().
void RexxClause::trim | ( | ) |
Definition at line 116 of file Clause.cpp.
References clauseLocation, current, first, SourceLocation::setStart(), and tokens.
Referenced by RexxSource::trimClause().
RexxToken* RexxClause::cachedToken |
Definition at line 92 of file Clause.hpp.
Referenced by newClause(), newToken(), RexxClause(), and RexxSource::sourceNextToken().
SourceLocation RexxClause::clauseLocation |
Definition at line 79 of file Clause.hpp.
Referenced by dumpClauseImpl(), getLocation(), setEnd(), setLocation(), setStart(), and trim().
size_t RexxClause::current |
Definition at line 80 of file Clause.hpp.
Referenced by firstToken(), mark(), newClause(), next(), previous(), reset(), RexxClause(), and trim().
size_t RexxClause::first |
Definition at line 81 of file Clause.hpp.
Referenced by firstToken(), newClause(), RexxClause(), and trim().
size_t RexxClause::free |
Definition at line 84 of file Clause.hpp.
Referenced by dumpTokensImpl(), newClause(), newToken(), RexxClause(), RexxSource::sourceLiteral(), and RexxSource::sourceNextToken().
size_t RexxClause::size |
Definition at line 83 of file Clause.hpp.
Referenced by newToken(), and RexxClause().
RexxArray* RexxClause::tokens |
Definition at line 82 of file Clause.hpp.
Referenced by dumpTokensImpl(), live(), liveGeneral(), newToken(), next(), RexxClause(), and trim().