Zen
A cross-platform functional programming language

SwitchLabel Class Reference

Abstract base class for AST Node representing a case label in a switch or select statement. More...

#include <Ast.hpp>

Inheritance diagram for SwitchLabel:
Node CaseLabel DefaultLabel

List of all members.

Public Member Functions

const Ast::StatementListgetList () const
 Returns a reference to the statement list associated with this case.

Protected Member Functions

 SwitchLabel (const Ast::StatementList &list)
 Default constructor.

Private Attributes

const Ast::StatementList_list
 The Statement list.

Detailed Description

Abstract base class for AST Node representing a case label in a switch or select statement.


Constructor & Destructor Documentation

SwitchLabel ( const Ast::StatementList list) [inline, protected]

Default constructor.

Parameters:
listStatement list to execute for this case label

Member Function Documentation

const Ast::StatementList& getList ( ) const [inline]

Returns a reference to the statement list associated with this case.

Returns:
Statement list.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines