Base class for range attribute nodes. More...
#include <RangeAttrib.h>


| Public Member Functions | |
| Location | getLocation () const | 
| Returns the location of this attribute. | |
| const Ast * | getPrefix () const | 
| Ast * | getPrefix () | 
| virtual const DiscreteType * | getType () const =0 | 
| Returns the type of this range attribute. | |
| virtual DiscreteType * | getType ()=0 | 
| Static Public Member Functions | |
| static bool | classof (const RangeAttrib *node) | 
| Support isa and dyn_cast. | |
| static bool | classof (const Ast *node) | 
| Protected Member Functions | |
| RangeAttrib (AstKind kind, Ast *prefix, Location loc) | |
| Static Protected Member Functions | |
| static bool | denotesRangeAttrib (AstKind kind) | 
Base class for range attribute nodes.
Definition at line 21 of file RangeAttrib.h.
Definition at line 48 of file RangeAttrib.h.
| static bool comma::RangeAttrib::classof | ( | const Ast * | node | ) |  [inline, static] | 
Reimplemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
Definition at line 43 of file RangeAttrib.h.
| static bool comma::RangeAttrib::classof | ( | const RangeAttrib * | node | ) |  [inline, static] | 
Support isa and dyn_cast.
Reimplemented from comma::Ast.
Reimplemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
Definition at line 42 of file RangeAttrib.h.
| static bool comma::RangeAttrib::denotesRangeAttrib | ( | AstKind | kind | ) |  [inline, static, protected] | 
Definition at line 51 of file RangeAttrib.h.
| Location comma::RangeAttrib::getLocation | ( | ) | const  [inline, virtual] | 
Returns the location of this attribute.
Reimplemented from comma::Ast.
Definition at line 33 of file RangeAttrib.h.
| Ast* comma::RangeAttrib::getPrefix | ( | ) |  [inline] | 
Returns the prefix to which this attribute applies.
The returned node is either a TypeRef, SubroutineRef, or an Expr.
Reimplemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
Definition at line 29 of file RangeAttrib.h.
| const Ast* comma::RangeAttrib::getPrefix | ( | ) | const  [inline] | 
Returns the prefix to which this attribute applies.
The returned node is either a TypeRef, SubroutineRef, or an Expr.
Reimplemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
Definition at line 28 of file RangeAttrib.h.
| virtual DiscreteType* comma::RangeAttrib::getType | ( | ) |  [pure virtual] | 
Returns the prefix to which this attribute applies.
The returned node is either a TypeRef, SubroutineRef, or an Expr.
Implemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
| virtual const DiscreteType* comma::RangeAttrib::getType | ( | ) | const  [pure virtual] | 
Returns the type of this range attribute.
Implemented in comma::ArrayRangeAttrib, and comma::ScalarRangeAttrib.
 1.6.1
 1.6.1