C# Class Yaml.ParseStream

Stops parsing at specific characters, useful for parsing inline structures like (for instance): [aaa, bbb, ccc, {ddd: eee, "fff": ggg}]
Inheritance: DropTrailingNewline
Exibir arquivo Open project: rs-services/RightGridWindowsImplementation Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
DontStop ( ) : void

Unset the characters where we should stop.

Next ( ) : void

Move to the next character in the parse stream.

Next ( bool dropLastNewLine ) : void

Move to the next character in the parse stream.

ParseStream ( TextReader stream ) : System

Constructor

StartLiteral ( ) : void

Start parsing literal

StopAt ( Array characters ) : void

Set the characters where we should stop.

StopAt ( char characters ) : void

Set the characters where we should stop.

StopLiteral ( ) : void

Stop parsing literal

Method Details

DontStop() public method

Unset the characters where we should stop.
public DontStop ( ) : void
return void

Next() public method

Move to the next character in the parse stream.
public Next ( ) : void
return void

Next() public method

Move to the next character in the parse stream.
public Next ( bool dropLastNewLine ) : void
dropLastNewLine bool
return void

ParseStream() public method

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

StartLiteral() public method

Start parsing literal
public StartLiteral ( ) : void
return void

StopAt() public method

Set the characters where we should stop.
public StopAt ( Array characters ) : void
characters Array
return void

StopAt() public method

Set the characters where we should stop.
public StopAt ( char characters ) : void
characters char
return void

StopLiteral() public method

Stop parsing literal
public StopLiteral ( ) : void
return void