mycc::ast::kw_struct Struct Reference
[Terminals in AST]

#include <mycc/ast/terminals.hh>

Inheritance diagram for mycc::ast::kw_struct:

Inheritance graph
[legend]
Collaboration diagram for mycc::ast::kw_struct:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represenetation of kw_struct in the AST.

Definition at line 358 of file terminals.hh.

Public Member Functions

int code () const
const char * text () const

Public Attributes

 VISITABLE


Member Function Documentation

int mycc::ast::kw_struct::code  )  const [virtual]
 

Return token code of this token type.

Implements mycc::ast::terminal.

Definition at line 281 of file terminals.cc.

References STRUCT.

const char * mycc::ast::kw_struct::text  )  const [virtual]
 

Return the textual representation of this token type.

Implements mycc::ast::terminal.

Definition at line 286 of file terminals.cc.


Member Data Documentation

mycc::ast::kw_struct::VISITABLE
 

Reimplemented from mycc::ast::terminal.

Definition at line 360 of file terminals.hh.


The documentation for this struct was generated from the following files:
Top of page
Christian Holm (home page)
Last update Fri Dec 12 14:36:35 2003
Created by DoxyGen 1.3.4