vrq
Static Public Member Functions

External Class Reference

This class is a stub that will be used to create linkages for external references. More...

#include <external.h>

List of all members.

Static Public Member Functions

static void Initialize ()
 Initialize class info.
static int Width (CSymbol *symbol)
 Get width of external variable.
static CNodeWidthExp (CSymbol *symbol)
 Get width of external variable as an expression.
static int WidthConstant (CSymbol *symbol)
 Determine if width of external variable is constant.
static int WidthVolatile (CSymbol *symbol)
 Determine if width of external variable is volatile.
static int WidthEvaluateable (CSymbol *symbol)
 Determine if width of external variable can be evaluated.
static NodeType_t Type (CSymbol *symbol)
 Determine type of external variable.

Detailed Description

This class is a stub that will be used to create linkages for external references.

Todo:
Implement external linkages.

Member Function Documentation

static void External::Initialize (  )  [inline, static]

Initialize class info.

static NodeType_t External::Type ( CSymbol symbol  )  [inline, static]

Determine type of external variable.

Parameters:
symbol external path.
Returns:
type of external variable.
static int External::Width ( CSymbol symbol  )  [inline, static]

Get width of external variable.

Parameters:
symbol external path.
Returns:
expression width
static int External::WidthConstant ( CSymbol symbol  )  [inline, static]

Determine if width of external variable is constant.

Parameters:
symbol external path.
Returns:
non-zero if width is constant. ie dependent upon only on parameters and constants.
static int External::WidthEvaluateable ( CSymbol symbol  )  [inline, static]

Determine if width of external variable can be evaluated.

Parameters:
symbol external path.
Returns:
non-zero if width can be evaluated.
static CNode* External::WidthExp ( CSymbol symbol  )  [inline, static]

Get width of external variable as an expression.

Parameters:
symbol external path.
Returns:
width expression
static int External::WidthVolatile ( CSymbol symbol  )  [inline, static]

Determine if width of external variable is volatile.

Parameters:
symbol external path.
Returns:
non-zero if width is volatile. ie dependent upon only on parameters or variables.

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