mycc::ast::selection_statement_if Struct Reference
[Non-terminals (rules)]

#include <mycc/ast/rules.hh>

Inheritance diagram for mycc::ast::selection_statement_if:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Representation of a selection_statement in the AST.

Definition at line 2334 of file rules.hh.

Public Member Functions

 ~selection_statement_if ()
 selection_statement_if (kw_if *i, lparen *l, expression *e, rparen *r, statement *s, kw_else *el, statement *ss)

Public Attributes

 VISITABLE
kw_if_if
kw_else_else
statement_statement_alt


Constructor & Destructor Documentation

mycc::ast::selection_statement_if::~selection_statement_if  ) 
 

Destructor.

Definition at line 1756 of file rules.cc.

References _else, _if, and _statement_alt.

mycc::ast::selection_statement_if::selection_statement_if kw_if i,
lparen l,
expression e,
rparen r,
statement s,
kw_else el,
statement ss
 

Constructor.

Definition at line 1762 of file rules.cc.


Member Data Documentation

kw_else* mycc::ast::selection_statement_if::_else
 

Definition at line 2338 of file rules.hh.

Referenced by ~selection_statement_if().

kw_if* mycc::ast::selection_statement_if::_if
 

Definition at line 2337 of file rules.hh.

Referenced by ~selection_statement_if().

statement* mycc::ast::selection_statement_if::_statement_alt
 

Definition at line 2339 of file rules.hh.

Referenced by ~selection_statement_if().

mycc::ast::selection_statement_if::VISITABLE
 

Reimplemented from mycc::ast::selection_statement.

Definition at line 2336 of file rules.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:37:01 2003
Created by DoxyGen 1.3.4