C# Class Yaml.IndentationProcessor

The indentation processor, This class divides the stream from the preprocessor in substreams, according to the current level of indentation.
Inheritance: Preprocessor
Exibir arquivo Open project: rs-services/RightGridWindowsImplementation

Public Methods

Method Description
Indent ( ) : void

Request an indentation. When we meet a \n and the following line is more indented then the current indentationlever, then save this request

IndentationProcessor ( TextReader stream ) : System

Constructor

Next ( ) : void

Go to the next parsable char in the stream

UnIndent ( ) : void

Cancel the last indentation

Method Details

Indent() public method

Request an indentation. When we meet a \n and the following line is more indented then the current indentationlever, then save this request
public Indent ( ) : void
return void

IndentationProcessor() public method

Constructor
public IndentationProcessor ( TextReader stream ) : System
stream TextReader
return System

Next() public method

Go to the next parsable char in the stream
public Next ( ) : void
return void

UnIndent() public method

Cancel the last indentation
public UnIndent ( ) : void
return void