comma::ComponentKeyList Class Reference
#include <AggExpr.h>
List of all members.
Detailed Description
Definition at line 251 of file AggExpr.h.
Member Typedef Documentation
Member Function Documentation
iterator comma::ComponentKeyList::begin |
( |
|
) |
[inline] |
iterator comma::ComponentKeyList::end |
( |
|
) |
[inline] |
Expr* comma::ComponentKeyList::getExpr |
( |
|
) |
[inline] |
Returns the associated expression.
Definition at line 265 of file AggExpr.h.
const Expr* comma::ComponentKeyList::getExpr |
( |
|
) |
const [inline] |
Returns the associated expression.
Definition at line 264 of file AggExpr.h.
ComponentKey*& comma::ComponentKeyList::getKey |
( |
unsigned |
i |
) |
[inline] |
const ComponentKey* comma::ComponentKeyList::getKey |
( |
unsigned |
i |
) |
const [inline] |
Location comma::ComponentKeyList::getLocation |
( |
|
) |
const [inline] |
Returns the location of the first key.
Definition at line 275 of file AggExpr.h.
const Ast* comma::ComponentKeyList::getRawKey |
( |
unsigned |
i |
) |
const [inline] |
Ast*& comma::ComponentKeyList::getRawKey |
( |
unsigned |
i |
) |
[inline] |
Returns the i'th key as a raw ast node.
Definition at line 308 of file AggExpr.h.
unsigned comma::ComponentKeyList::numKeys |
( |
|
) |
const [inline] |
template<class T >
const T* comma::ComponentKeyList::resolveKey |
( |
unsigned |
i |
) |
const [inline] |
template<class T >
T* comma::ComponentKeyList::resolveKey |
( |
unsigned |
i |
) |
[inline] |
Returns the actual AST node representing the i'th key cast to the provided type.
These methods use llvm::dyn_cast tot resolve the type. If the key is not of the supplied type these methods return null.
Definition at line 296 of file AggExpr.h.
void comma::ComponentKeyList::setExpr |
( |
Expr * |
expr |
) |
[inline] |
Sets the associated expression.
Definition at line 269 of file AggExpr.h.
void comma::ComponentKeyList::setKey |
( |
unsigned |
i, |
|
|
TypeRef * |
node | |
|
) |
| | [inline] |
void comma::ComponentKeyList::setKey |
( |
unsigned |
i, |
|
|
Range * |
node | |
|
) |
| | [inline] |
void comma::ComponentKeyList::setKey |
( |
unsigned |
i, |
|
|
Identifier * |
node | |
|
) |
| | [inline] |
void comma::ComponentKeyList::setKey |
( |
unsigned |
i, |
|
|
Expr * |
node | |
|
) |
| | [inline] |
The documentation for this class was generated from the following files: