zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TPublicType Struct Reference

#include <Types.h>

Public Member Functions

bool isStructureContainingArrays () const
 
void setAggregate (int s, bool m=false)
 
void setArray (bool a, int s=0)
 
void setBasic (TBasicType bt, TQualifier q, const TSourceLoc &ln)
 

Public Attributes

bool array
 
int arraySize
 
TSourceLoc line
 
bool matrix
 
TPrecision precision
 
TQualifier qualifier
 
int size
 
TBasicType type
 
TTypeuserDef
 

Detailed Description

Definition at line 259 of file Types.h.

Member Function Documentation

bool TPublicType::isStructureContainingArrays ( ) const
inline

Definition at line 296 of file Types.h.

References TType::isStructureContainingArrays(), and userDef.

Referenced by TParseContext::nonInitConstErrorCheck().

void TPublicType::setAggregate ( int  s,
bool  m = false 
)
inline

Definition at line 284 of file Types.h.

References m.

void TPublicType::setArray ( bool  a,
int  s = 0 
)
inline

Definition at line 290 of file Types.h.

References arraySize.

void TPublicType::setBasic ( TBasicType  bt,
TQualifier  q,
const TSourceLoc ln 
)
inline

Definition at line 271 of file Types.h.

References arraySize, EbpUndefined, line, qualifier, and userDef.

Member Data Documentation

int TPublicType::arraySize

Definition at line 267 of file Types.h.

Referenced by TParseContext::arrayErrorCheck(), setArray(), and setBasic().

TSourceLoc TPublicType::line

Definition at line 269 of file Types.h.

Referenced by setBasic().

bool TPublicType::matrix
TPrecision TPublicType::precision

Definition at line 263 of file Types.h.

TType* TPublicType::userDef

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