rasdaman complete source
Public Types | Public Member Functions | Public Attributes | List of all members
YSymbol Class Reference

#include <symbtbl.hh>

Public Types

enum  YSymbol_type {
  dParse_Type, dParse_Attribute, dParse_Const, dParse_Function,
  dParse_Enumerator
}
 

Public Member Functions

 YSymbol ()
 
 YSymbol (const char *)
 
const char * get_name () const
 

Public Attributes

YWhere where
 defined where More...
 
bool owned_by_symbol
 defines wether this symbol is owned by another symbol or by a scope More...
 
YSymbolnext
 
const YSymbolTable::Scopescope
 
const YSymbolTable::Scopedefines
 
enum YSymbol::YSymbol_type type
 
union {
   Parse_type *   Type
 
   Parse_composite::Element *   Attribute
 
   YConstant   constant
 
   Parse_enum::Enumerator *   enumerator
 
}; 
 

Detailed Description

Defines a symbol during parsing. It can represent various types of data.

Constructor & Destructor Documentation

YSymbol::YSymbol ( )
YSymbol::YSymbol ( const char *  )

Member Function Documentation

const char* YSymbol::get_name ( void  ) const
inline

Member Data Documentation

union { ... }
Parse_composite::Element* YSymbol::Attribute
YConstant YSymbol::constant
const YSymbolTable::Scope* YSymbol::defines
Parse_enum::Enumerator* YSymbol::enumerator
YSymbol* YSymbol::next
bool YSymbol::owned_by_symbol

defines wether this symbol is owned by another symbol or by a scope

const YSymbolTable::Scope* YSymbol::scope
enum YSymbol::YSymbol_type YSymbol::type
Parse_type* YSymbol::Type
YWhere YSymbol::where

defined where


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