vrq
Static Public Member Functions | List of all members
External Class Reference

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

#include <external.h>

Static Public Member Functions

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

Detailed Description

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

Todo:
Implement external linkages.

Member Function Documentation

◆ Initialize()

static void External::Initialize ( )
inlinestatic

Initialize class info.

◆ Type()

static NodeType_t External::Type ( CSymbol symbol)
inlinestatic

Determine type of external variable.

Parameters
symbolexternal path.
Returns
type of external variable.

◆ Width()

static int External::Width ( CSymbol symbol)
inlinestatic

Get width of external variable.

Parameters
symbolexternal path.
Returns
expression width

◆ WidthConstant()

static int External::WidthConstant ( CSymbol symbol)
inlinestatic

Determine if width of external variable is constant.

Parameters
symbolexternal path.
Returns
non-zero if width is constant. ie dependent upon only on parameters and constants.

◆ WidthEvaluateable()

static int External::WidthEvaluateable ( CSymbol symbol)
inlinestatic

Determine if width of external variable can be evaluated.

Parameters
symbolexternal path.
Returns
non-zero if width can be evaluated.

◆ WidthExp()

static CNode* External::WidthExp ( CSymbol symbol)
inlinestatic

Get width of external variable as an expression.

Parameters
symbolexternal path.
Returns
width expression

◆ WidthVolatile()

static int External::WidthVolatile ( CSymbol symbol)
inlinestatic

Determine if width of external variable is volatile.

Parameters
symbolexternal 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: