C# Class Cottle.Parsers.Default.Lexer

Exibir arquivo Open project: r3c/cottle Class Usage Examples

Public Methods

Method Description
Lexer ( string blockBegin, string blockContinue, string blockEnd, char escape ) : System
Next ( LexerMode mode ) : void
Reset ( TextReader reader ) : bool

Private Methods

Method Description
NextBlock ( ) : Lexem
NextChar ( LexemType type ) : Lexem
NextRaw ( ) : Lexem
Read ( ) : bool

Method Details

Lexer() public method

public Lexer ( string blockBegin, string blockContinue, string blockEnd, char escape ) : System
blockBegin string
blockContinue string
blockEnd string
escape char
return System

Next() public method

public Next ( LexerMode mode ) : void
mode LexerMode
return void

Reset() public method

public Reset ( TextReader reader ) : bool
reader TextReader
return bool