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

SubExpression Class Reference

This state is pushed to the Indentor state stack when encountering a subexpression. More...

Inheritance diagram for SubExpression:

Inheritance graph
[legend]
Collaboration diagram for SubExpression:

Collaboration graph
[legend]
List of all members.

Properties

internal override string LexerState

Private Member Functions

internal SubExpression (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 subexpression.

This is the case after a if, else, while, do, for, foreach until the loop/condional statement ends (ends with ';') or until '{'-sign is encountered. When the '{'-sign is encountered a normal BlockExpression is used.


Constructor & Destructor Documentation

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


Member Function Documentation

internal override bool SubExpression::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

internal override string SubExpression::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