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

State Class Reference

Defines an Indentor state. More...

Inheritance diagram for State:

Inheritance graph
[legend]
List of all members.

Properties

abstract internal string LexerState
internal int Level
 Desired indentation level.

Private Member Functions

virtual internal 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

Defines an Indentor state.

This should not be confused with lexer states. Each Indentor state targets one lexer state (see LexerState).


Member Function Documentation

virtual internal bool State::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 in SubExpression, and SwitchExpression.


Property Documentation

internal int State::Level [private]
 

Desired indentation level.

abstract internal string State::LexerState [get, private]
 

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

Reimplemented in Top, BlockExpression, CharLiteral, StringLiteral, Parenthesis, BlockComment, EolComment, SubExpression, and SwitchExpression.


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