Logo Search packages:      
Sourcecode: fauhdlc version File versions

ast::TemporaryName Class Reference

#include <TemporaryName.hpp>

Inheritance diagram for ast::TemporaryName:

ast::PrefixedName ast::Name ast::Expression ast::AstNode

List of all members.

Detailed Description

An indexed name or slice name, resulting in a temporary.

This class represents a VHDL indexed name or slice name. The index or slice expression is stored as prefix, while the actual name is NULL, because the VHDL grammar doesn't really represent a named object at this point, but rather a temporary one. In particular, a temporary name cannot be used for a procedure call or a function call (as there would be no indication of what procedure or function to call).

Definition at line 25 of file TemporaryName.hpp.

Public Member Functions

virtual void accept (Visitor &visitor)
 Accept a Visitor.
SymbolDeclarationgetDeclaration (void) const
 return the declaration of the symbol
std::string getName (void) const throw (std::logic_error)
virtual void put (std::ostream &stream) const
 TemporaryName (Expression *pre, Location loc)

Static Public Member Functions

static void initialize (void)
 initialize garbage collection.

Public Attributes

enum BaseType baseType
std::list< Symbol * > candidates
Location location
std::string * name
int number
 prefix expression of the name

Protected Member Functions

virtual ~TemporaryName ()

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

Generated by  Doxygen 1.6.0   Back to index