Zen
A cross-platform functional programming language
|
Abstract base class for AST Node representing a case label in a switch or select statement. More...
#include <Ast.hpp>
Public Member Functions | |
const Ast::StatementList & | getList () 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. |
Abstract base class for AST Node representing a case label in a switch or select statement.
SwitchLabel | ( | const Ast::StatementList & | list | ) | [inline, protected] |
Default constructor.
list | Statement list to execute for this case label |
const Ast::StatementList& getList | ( | ) | const [inline] |
Returns a reference to the statement list associated with this case.