Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages

SwitchExpression Class Reference

This state is pushed to the Indentor state stack when encountering a switch expression (see Indentor). More...

Inheritance diagram for SwitchExpression:

Inheritance graph
[legend]
Collaboration diagram for SwitchExpression:

Collaboration graph
[legend]
List of all members.

Properties

internal override string LexerState
bool EncounteredStartBracket = false

Private Member Functions

internal SwitchExpression (IndentorLexer lexer)
internal override bool CascadingDelete (State state)
 This function will be called on state-stacks top state right after the previous top state has been removed.

Detailed Description

This state is pushed to the Indentor state stack when encountering a switch expression (see Indentor).


Constructor & Destructor Documentation

internal SwitchExpression::SwitchExpression IndentorLexer  lexer  )  [inline, private]
 


Member Function Documentation

internal override bool SwitchExpression::CascadingDelete State  state  )  [inline, private, virtual]
 

This function will be called on state-stacks top state right after the previous top state has been removed.

Parameters:
state is the state which was removed from the stack.
Returns:
true if this should also be delete, false otherwise.

Reimplemented from State.


Property Documentation

bool SwitchExpression::EncounteredStartBracket = false [private]
 

internal override string SwitchExpression::LexerState [get, private]
 

The state the lexer should be in while this state is on top of the state-stack.

Reimplemented from State.


The documentation for this class was generated from the following file: SourceForge.net Logo