Public Member Functions | Public Attributes | List of all members
moot::mootToken::Location Class Reference

Public Member Functions

 Location (const OffsetT my_offset=0, const OffsetT my_length=0)
 
 Location (const Location &x)
 
void clear (void)
 

Public Attributes

OffsetT offset
 (byte) offset in input stream (default=0) More...
 
OffsetT length
 (byte) length in input stream (default=0) More...
 

Detailed Description

Type for token locations (in input stream)

Constructor & Destructor Documentation

◆ Location() [1/2]

moot::mootToken::Location::Location ( const OffsetT  my_offset = 0,
const OffsetT  my_length = 0 
)
inline

Default constructor

◆ Location() [2/2]

moot::mootToken::Location::Location ( const Location x)
inline

copy constructor

Member Function Documentation

◆ clear()

void moot::mootToken::Location::clear ( void  )
inline

Clear this object (reset to defaults)

Referenced by moot::mootToken::clear().

Member Data Documentation

◆ offset

OffsetT moot::mootToken::Location::offset

◆ length

OffsetT moot::mootToken::Location::length

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