SelectionStmt Class Reference

selection statement (an if or a switch/case). More...

#import <ast.h>

Inheritance diagram for SelectionStmt:

Stmt ASTNode List of all members.

Public Member Functions

(id) - init:test:if_stmt:else_stmt:
 Initialize.

Protected Attributes

Exprtest
 first test
StmtthenStmt
 true clase or switch body
StmtelseStmt
 optional else clause

Detailed Description

selection statement (an if or a switch/case).


Member Function Documentation

- (id) init: (id)  t
test: (id)  e
if_stmt: (id)  ts
else_stmt: (id)  es 

Initialize.

Parameters:
t Token
e (Expr*) test
ts (Stmt*) if clause
es (Stmt*) else clause


The documentation for this class was generated from the following files:
Generated on Mon Dec 24 06:11:58 2007 for gfront by  doxygen 1.5.2