This node represents range attributes when applied to a scalar type prefix. More...
#include <RangeAttrib.h>
Public Member Functions | |
ScalarRangeAttrib (DiscreteType *prefix, Location loc) | |
const DiscreteType * | getPrefix () const |
Returns the prefix of this range attribute. | |
DiscreteType * | getPrefix () |
Returns the prefix of this range attribute. | |
const DiscreteType * | getType () const |
Returns the type of this range attribute. | |
DiscreteType * | getType () |
Returns the prefix of this range attribute. | |
Static Public Member Functions | |
static bool | classof (const ScalarRangeAttrib *node) |
Support isa and dyn_cast. | |
static bool | classof (const Ast *node) |
This node represents range attributes when applied to a scalar type prefix.
Definition at line 150 of file RangeAttrib.h.
comma::ScalarRangeAttrib::ScalarRangeAttrib | ( | DiscreteType * | prefix, | |
Location | loc | |||
) | [inline] |
Definition at line 153 of file RangeAttrib.h.
static bool comma::ScalarRangeAttrib::classof | ( | const Ast * | node | ) | [inline, static] |
Reimplemented from comma::RangeAttrib.
Definition at line 174 of file RangeAttrib.h.
static bool comma::ScalarRangeAttrib::classof | ( | const ScalarRangeAttrib * | node | ) | [inline, static] |
Support isa and dyn_cast.
Reimplemented from comma::RangeAttrib.
Definition at line 173 of file RangeAttrib.h.
DiscreteType* comma::ScalarRangeAttrib::getPrefix | ( | ) | [inline] |
Returns the prefix of this range attribute.
Reimplemented from comma::RangeAttrib.
Definition at line 161 of file RangeAttrib.h.
const DiscreteType* comma::ScalarRangeAttrib::getPrefix | ( | ) | const [inline] |
Returns the prefix of this range attribute.
Reimplemented from comma::RangeAttrib.
Definition at line 158 of file RangeAttrib.h.
DiscreteType* comma::ScalarRangeAttrib::getType | ( | ) | [inline, virtual] |
Returns the prefix of this range attribute.
Implements comma::RangeAttrib.
Definition at line 169 of file RangeAttrib.h.
const DiscreteType* comma::ScalarRangeAttrib::getType | ( | ) | const [inline, virtual] |
Returns the type of this range attribute.
Implements comma::RangeAttrib.
Definition at line 168 of file RangeAttrib.h.