comma::ScalarRangeAttrib Class Reference

This node represents range attributes when applied to a scalar type prefix. More...

#include <RangeAttrib.h>

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

List of all members.

Public Member Functions

 ScalarRangeAttrib (DiscreteType *prefix, Location loc)



const DiscreteTypegetPrefix () const
 Returns the prefix of this range attribute.
DiscreteTypegetPrefix ()
 Returns the prefix of this range attribute.
const DiscreteTypegetType () const
 Returns the type of this range attribute.
DiscreteTypegetType ()
 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)

Detailed Description

This node represents range attributes when applied to a scalar type prefix.

Definition at line 150 of file RangeAttrib.h.


Constructor & Destructor Documentation

comma::ScalarRangeAttrib::ScalarRangeAttrib ( DiscreteType prefix,
Location  loc 
) [inline]

Definition at line 153 of file RangeAttrib.h.


Member Function Documentation

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.


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

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1