Logo Search packages:      
Sourcecode: fauhdlc version File versions

ast::DiscreteRange Class Reference

#include <DiscreteRange.hpp>

Inheritance diagram for ast::DiscreteRange:

ast::Expression ast::AstNode

List of all members.

Detailed Description

a VHDL discrete range.

Definition at line 20 of file DiscreteRange.hpp.

Public Types

enum  Direction { DIRECTION_DOWN = -1, DIRECTION_UP = 1 }

Public Member Functions

virtual void accept (Visitor &visitor)
 Accept a Visitor.
 DiscreteRange (SubtypeIndication *si, Location loc)
 alternate c'tor for range by subytpe indication
 DiscreteRange (Expression *first, Expression *second, enum Direction direct, Location loc)
universal_integer getArraySize (void) const
universal_integer getLowerBound (void) const
universal_integer getUpperBound (void) const
virtual void put (std::ostream &stream) const

Static Public Member Functions

static void initialize (void)
 initialize garbage collection.

Public Attributes

enum BaseType baseType
enum Direction direction
Location location
int number

Protected Member Functions

virtual ~DiscreteRange ()

Private Member Functions

void setFromAndTo (const SubtypeIndication *si) throw (std::runtime_error)

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

Generated by  Doxygen 1.6.0   Back to index