C# Class Cottle.Parsers.Default.Lexer

Afficher le fichier Open project: r3c/cottle Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
NextBlock ( ) : Lexem
NextChar ( LexemType type ) : Lexem
NextRaw ( ) : Lexem
Read ( ) : bool

Method Details

Lexer() public méthode

public Lexer ( string blockBegin, string blockContinue, string blockEnd, char escape ) : System
blockBegin string
blockContinue string
blockEnd string
escape char
Résultat System

Next() public méthode

public Next ( LexerMode mode ) : void
mode LexerMode
Résultat void

Reset() public méthode

public Reset ( TextReader reader ) : bool
reader TextReader
Résultat bool