RexxClause Class Reference

#include <Clause.hpp>

Inheritance diagram for RexxClause:
[legend]

Public Member Functions

void * operator new (size_t)
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *)
 
void operator delete (void *, void *)
 
 RexxClause ()
 
 RexxClause (RESTORETYPE restoreType)
 
void live (size_t)
 
void liveGeneral (int reason)
 
void flatten (RexxEnvelope *)
 
void setStart (size_t, size_t)
 
void setEnd (size_t, size_t)
 
void trim ()
 
void newClause ()
 
RexxTokennewToken (int, int, RexxString *, SourceLocation &)
 
RexxTokennextRealToken ()
 
void firstToken ()
 
const SourceLocationgetLocation ()
 
void setLocation (SourceLocation &l)
 
void previous ()
 
RexxTokennext ()
 
size_t mark ()
 
void reset (size_t position)
 
- Public Member Functions inherited from RexxInternalObject
void * operator new (size_t, RexxClass *)
 
void * operator new (size_t, RexxClass *, RexxObject **, size_t, size_t)
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *)
 
void operator delete (void *p, void *ptr)
 
 RexxInternalObject ()
 
 RexxInternalObject (RESTORETYPE restoreType)
 
virtual ~RexxInternalObject ()
 
 operator RexxObject * ()
 
size_t getObjectSize ()
 
void setObjectSize (size_t s)
 
size_t getObjectDataSize ()
 
void * getObjectDataSpace ()
 
void clearObject ()
 
void clearObject (size_t l)
 
void setVirtualFunctions (void *t)
 
void setInitHeader (size_t s, size_t markword)
 
void setInitHeader (size_t markword)
 
void setObjectLive (size_t markword)
 
void setHasReferences ()
 
void setHasNoReferences ()
 
bool hasReferences ()
 
bool hasNoReferences ()
 
void setPrimitive ()
 
void setNonPrimitive ()
 
bool isPrimitive ()
 
bool isNonPrimitive ()
 
void setInRexxPackage ()
 
bool isInRexxPackage ()
 
bool isObjectMarked (size_t markword)
 
void setObjectMark (size_t markword)
 
void clearObjectMark ()
 
bool isObjectLive (size_t mark)
 
bool isObjectDead (size_t mark)
 
bool isOldSpace ()
 
bool isNewSpace ()
 
void setNewSpace ()
 
void setOldSpace ()
 
void makeProxiedObject ()
 
bool isProxyObject ()
 
bool isSubClassOrEnhanced ()
 
bool isBaseClass ()
 
size_t getObjectTypeNumber ()
 
RexxBehaviourgetObjectType ()
 
bool isObjectType (RexxBehaviour *b)
 
bool isObjectType (size_t t)
 
bool isSameType (RexxInternalObject *o)
 
void setBehaviour (RexxBehaviour *b)
 
virtual RexxObjectmakeProxy (RexxEnvelope *)
 
virtual RexxObjectcopy ()
 
virtual RexxObjectevaluate (RexxActivation *, RexxExpressionStack *)
 
virtual RexxObjectgetValue (RexxActivation *)
 
virtual RexxObjectgetValue (RexxVariableDictionary *)
 
virtual RexxObjectgetRealValue (RexxActivation *)
 
virtual RexxObjectgetRealValue (RexxVariableDictionary *)
 
virtual void uninit ()
 
virtual HashCode hash ()
 
virtual HashCode getHashValue ()
 
HashCode identityHash ()
 
virtual bool truthValue (int)
 
virtual bool logicalValue (logical_t &)
 
virtual RexxStringmakeString ()
 
virtual RexxTextmakeText ()
 
virtual void copyIntoTail (RexxCompoundTail *buffer)
 
virtual RexxStringprimitiveMakeString ()
 
virtual RexxTextprimitiveMakeText ()
 
virtual RexxArraymakeArray ()
 
virtual RexxStringstringValue ()
 
virtual RexxTexttextValue ()
 
virtual RexxIntegerintegerValue (size_t)
 
virtual bool numberValue (wholenumber_t &result, size_t precision)
 
virtual bool numberValue (wholenumber_t &result)
 
virtual bool unsignedNumberValue (stringsize_t &result, size_t precision)
 
virtual bool unsignedNumberValue (stringsize_t &result)
 
virtual bool doubleValue (double &result)
 
virtual RexxNumberStringnumberString ()
 
virtual bool isEqual (RexxObject *)
 
virtual bool isInstanceOf (RexxClass *)
 
virtual RexxMethodinstanceMethod (RexxString *)
 
virtual RexxSupplierinstanceMethods (RexxClass *)
 
virtual RexxObjectdynamicTarget (RexxObject **arguments, size_t count, size_t named_count)
 
void hasUninit ()
 
void removedUninit ()
 
void printObject ()
 
RexxObjectclone ()
 
- Public Member Functions inherited from RexxVirtualBase
virtual RexxObjectunflatten (RexxEnvelope *)
 

Public Attributes

SourceLocation clauseLocation
 
size_t current
 
size_t first
 
RexxArraytokens
 
size_t size
 
size_t free
 
RexxTokencachedToken
 
- Public Attributes inherited from RexxInternalObject
ObjectHeader header
 
RexxBehaviourbehaviour
 

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 ()
 

Detailed Description

Definition at line 52 of file Clause.hpp.

Constructor & Destructor Documentation

◆ RexxClause() [1/2]

RexxClause::RexxClause ( )

◆ RexxClause() [2/2]

RexxClause::RexxClause ( RESTORETYPE  restoreType)
inline

Definition at line 60 of file Clause.hpp.

Member Function Documentation

◆ firstToken()

void RexxClause::firstToken ( )
inline

Definition at line 71 of file Clause.hpp.

References current, and first.

Referenced by RexxSource::firstToken().

◆ flatten()

void RexxClause::flatten ( RexxEnvelope envelope)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 84 of file Clause.cpp.

References cleanUpFlatten, flatten_reference, and setUpFlatten.

◆ getLocation()

◆ live()

void RexxClause::live ( size_t  liveMark)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 68 of file Clause.cpp.

References memory_mark, and tokens.

◆ liveGeneral()

void RexxClause::liveGeneral ( int  reason)
virtual

Reimplemented from RexxVirtualBase.

Definition at line 76 of file Clause.cpp.

References memory_mark_general, and tokens.

◆ mark()

size_t RexxClause::mark ( )
inline

Definition at line 76 of file Clause.hpp.

References current.

Referenced by RexxSource::markPosition().

◆ newClause()

void RexxClause::newClause ( )

Definition at line 130 of file Clause.cpp.

References cachedToken, current, first, free, and OREF_NULL.

Referenced by RexxSource::nextClause().

◆ newToken()

RexxToken * RexxClause::newToken ( int  classId,
int  subclass,
RexxString value,
SourceLocation l 
)

◆ next()

RexxToken* RexxClause::next ( )
inline

Definition at line 75 of file Clause.hpp.

References current, RexxArray::get(), and tokens.

Referenced by nextRealToken(), and RexxSource::nextToken().

◆ nextRealToken()

RexxToken * RexxClause::nextRealToken ( )

Definition at line 177 of file Clause.cpp.

References RexxToken::classId, next(), and TOKEN_BLANK.

Referenced by RexxSource::nextReal().

◆ operator delete() [1/2]

void RexxClause::operator delete ( void *  )
inline

Definition at line 56 of file Clause.hpp.

◆ operator delete() [2/2]

void RexxClause::operator delete ( void *  ,
void *   
)
inline

Definition at line 57 of file Clause.hpp.

◆ operator new() [1/2]

void* RexxClause::operator new ( size_t  size,
void *  ptr 
)
inline

Definition at line 55 of file Clause.hpp.

◆ operator new() [2/2]

void * RexxClause::operator new ( size_t  size)

Definition at line 190 of file Clause.cpp.

References new_object(), and T_Clause.

◆ previous()

void RexxClause::previous ( )
inline

Definition at line 74 of file Clause.hpp.

References current.

Referenced by RexxSource::previousToken().

◆ reset()

void RexxClause::reset ( size_t  position)
inline

Definition at line 77 of file Clause.hpp.

References current.

Referenced by RexxSource::resetPosition().

◆ setEnd()

void RexxClause::setEnd ( size_t  line,
size_t  offset 
)

◆ setLocation()

void RexxClause::setLocation ( SourceLocation l)
inline

Definition at line 73 of file Clause.hpp.

References clauseLocation.

Referenced by RexxSource::nextClause().

◆ setStart()

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().

◆ trim()

void RexxClause::trim ( )

Definition at line 116 of file Clause.cpp.

References clauseLocation, current, first, SourceLocation::setStart(), and tokens.

Referenced by RexxSource::trimClause().

Member Data Documentation

◆ cachedToken

RexxToken* RexxClause::cachedToken

Definition at line 92 of file Clause.hpp.

Referenced by newClause(), newToken(), RexxClause(), and RexxSource::sourceNextToken().

◆ clauseLocation

SourceLocation RexxClause::clauseLocation

Definition at line 79 of file Clause.hpp.

Referenced by dumpClauseImpl(), getLocation(), setEnd(), setLocation(), setStart(), and trim().

◆ current

size_t RexxClause::current

Definition at line 80 of file Clause.hpp.

Referenced by firstToken(), mark(), newClause(), next(), previous(), reset(), RexxClause(), and trim().

◆ first

size_t RexxClause::first

Definition at line 81 of file Clause.hpp.

Referenced by firstToken(), newClause(), RexxClause(), and trim().

◆ free

size_t RexxClause::free

◆ size

size_t RexxClause::size

Definition at line 83 of file Clause.hpp.

Referenced by newToken(), and RexxClause().

◆ tokens

RexxArray* RexxClause::tokens

Definition at line 82 of file Clause.hpp.

Referenced by dumpTokensImpl(), live(), liveGeneral(), newToken(), next(), RexxClause(), and trim().


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