#include <rangetype.h>
Inheritance diagram for RangeType:
Public Member Functions | |
RangeType (SrcPosition *position, types typeCode, int start, int end) | |
RangeType (const RangeType &rangeType) | |
virtual | ~RangeType () |
virtual Ast & | operator= (const Ast &ast) |
int | getStart () const |
int | getEnd () const |
virtual bool | operator== (const Ast &ast) const |
virtual Ast & | clone () const |
virtual VisitorReturn * | visit (Visitor &visitor) |
Private Attributes | |
int | start |
int | end |
|
Definition at line 12 of file rangetype.h. Referenced by clone().
|
|
Definition at line 15 of file rangetype.h. References Ast::position, and Type::typeCode.
|
|
Definition at line 19 of file rangetype.h.
00019 { 00020 } |
|
Reimplemented from Type. Definition at line 44 of file rangetype.h. References RangeType().
00044 { 00045 return *(new RangeType(new SrcPosition(*(this->position)), this->typeCode, this->start, this->end)); 00046 } |
|
Definition at line 35 of file rangetype.h.
00035 { 00036 return this->end; 00037 } |
|
Definition at line 31 of file rangetype.h.
00031 { 00032 return this->start; 00033 } |
|
Reimplemented from Type. Definition at line 22 of file rangetype.h. References end, Type::operator=(), and start.
|
|
Reimplemented from Type. Definition at line 39 of file rangetype.h. References end, Type::operator==(), and start.
|
|
Reimplemented from Type. Definition at line 48 of file rangetype.h. References Visitor::visitRangeType().
00048 { 00049 return visitor.visitRangeType(this); 00050 } |
|
Definition at line 9 of file rangetype.h. Referenced by operator=(), and operator==(). |
|
Definition at line 8 of file rangetype.h. Referenced by operator=(), and operator==(). |