comma::ArrayDecl Class Reference

#include <Decl.h>

Inheritance diagram for comma::ArrayDecl:
Inheritance graph
[legend]
Collaboration diagram for comma::ArrayDecl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned getRank () const
 Returns the rank of this array declaration.
bool isConstrained () const
 Returns true if this declaration is constrained.

Static Public Member Functions

static bool classof (const ArrayDecl *node)
 Support isa and dyn_cast.
static bool classof (const Ast *node)

Friends

class AstResource



typedef ArrayType::iterator index_iterator
 Iterators over the the index types of this array.
const ArrayTypegetType () const
 Returns the first subtype defined by this array type declaration.
ArrayTypegetType ()
 Iterators over the the index types of this array.
const DiscreteTypegetIndexType (unsigned i) const
 Returns the type describing the i'th index of this array.
DiscreteTypegetIndexType (unsigned i)
 Iterators over the the index types of this array.
const TypegetComponentType () const
 Returns the type describing the component type of this array.
TypegetComponentType ()
 Iterators over the the index types of this array.
index_iterator begin_indices ()
 Iterators over the the index types of this array.
index_iterator end_indices ()
 Iterators over the the index types of this array.

Detailed Description

Definition at line 1663 of file Decl.h.


Member Typedef Documentation

Iterators over the the index types of this array.

Definition at line 1705 of file Decl.h.


Member Function Documentation

index_iterator comma::ArrayDecl::begin_indices (  )  [inline]

Iterators over the the index types of this array.

Definition at line 1706 of file Decl.h.

static bool comma::ArrayDecl::classof ( const Ast node  )  [inline, static]

Reimplemented from comma::TypeDecl.

Definition at line 1712 of file Decl.h.

static bool comma::ArrayDecl::classof ( const ArrayDecl node  )  [inline, static]

Support isa and dyn_cast.

Reimplemented from comma::TypeDecl.

Definition at line 1711 of file Decl.h.

index_iterator comma::ArrayDecl::end_indices (  )  [inline]

Iterators over the the index types of this array.

Definition at line 1707 of file Decl.h.

Type* comma::ArrayDecl::getComponentType (  )  [inline]

Iterators over the the index types of this array.

Definition at line 1697 of file Decl.h.

const Type* comma::ArrayDecl::getComponentType (  )  const [inline]

Returns the type describing the component type of this array.

Definition at line 1694 of file Decl.h.

DiscreteType* comma::ArrayDecl::getIndexType ( unsigned  i  )  [inline]

Iterators over the the index types of this array.

Definition at line 1687 of file Decl.h.

const DiscreteType* comma::ArrayDecl::getIndexType ( unsigned  i  )  const [inline]

Returns the type describing the i'th index of this array.

Definition at line 1684 of file Decl.h.

unsigned comma::ArrayDecl::getRank (  )  const [inline]

Returns the rank of this array declaration.

Definition at line 1680 of file Decl.h.

ArrayType* comma::ArrayDecl::getType (  )  [inline]

Iterators over the the index types of this array.

Reimplemented from comma::TypeDecl.

Definition at line 1674 of file Decl.h.

const ArrayType* comma::ArrayDecl::getType (  )  const [inline]

Returns the first subtype defined by this array type declaration.

Reimplemented from comma::TypeDecl.

Definition at line 1671 of file Decl.h.

bool comma::ArrayDecl::isConstrained (  )  const [inline]

Returns true if this declaration is constrained.

Definition at line 1701 of file Decl.h.


Friends And Related Function Documentation

friend class AstResource [friend]

Definition at line 1723 of file Decl.h.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1