Inferno  0.2
CPPTree::Switch Struct Reference

Switch statement. More...

#include <cpptree.hpp>

Inheritance diagram for CPPTree::Switch:
[legend]
Collaboration diagram for CPPTree::Switch:
[legend]

List of all members.

Public Attributes

NODE_FUNCTIONS_FINAL TreePtr
< Expression
condition
 Evaluates to a value whose case we'll jump to.

Detailed Description

Switch statement.

Body (From Breakable) is just a statement scope - case labels and breaks are dropped into the sequence at the corresponding positions. This caters for fall-throughs etc. Really just a Compound with a goto-a-variable at the top and some mapping.

Definition at line 902 of file cpptree.hpp.


Member Data Documentation

Evaluates to a value whose case we'll jump to.

Definition at line 905 of file cpptree.hpp.


The documentation for this struct was generated from the following file: