C# Class Kobi.RecreationalRegex.PcreGrammar.Builder.SingleStackStateWriter

Inheritance: IStackStateWriter
Show file Open project: kobi/RecreationalRegex

Public Methods

Method Description
AssertCharactersInStack ( string stackName, int characterCount ) : string
PushCharactersToStack ( string stackName, int characterCount ) : string
WriteAssertStateStackIsEmpty ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection ) : void
WritePushState ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection, State state ) : void
WriteWhenInState ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection, State state ) : void

Method Details

AssertCharactersInStack() public static method

public static AssertCharactersInStack ( string stackName, int characterCount ) : string
stackName string
characterCount int
return string

PushCharactersToStack() public static method

public static PushCharactersToStack ( string stackName, int characterCount ) : string
stackName string
characterCount int
return string

WriteAssertStateStackIsEmpty() public method

public WriteAssertStateStackIsEmpty ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection ) : void
indentedTextWriter System.CodeDom.Compiler.IndentedTextWriter
stateCollection StateCollection
return void

WritePushState() public method

public WritePushState ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection, State state ) : void
indentedTextWriter System.CodeDom.Compiler.IndentedTextWriter
stateCollection StateCollection
state Kobi.RecreationalRegex.PcreGrammar.GrammarModel.State
return void

WriteWhenInState() public method

public WriteWhenInState ( IndentedTextWriter indentedTextWriter, StateCollection stateCollection, State state ) : void
indentedTextWriter System.CodeDom.Compiler.IndentedTextWriter
stateCollection StateCollection
state Kobi.RecreationalRegex.PcreGrammar.GrammarModel.State
return void