C# Class Cottle.Parsers.DefaultParser

Inheritance: IParser
Mostrar archivo Open project: r3c/cottle Class Usage Examples

Public Methods

Method Description
DefaultParser ( string blockBegin, string blockContinue, string blockEnd, char escape ) : System
Parse ( TextReader reader ) : Command

Private Methods

Method Description
BuildOperator ( IFunction function ) : Expression
ParseAssignment ( StoreMode mode ) : Command
ParseBody ( ) : Command
ParseCommand ( ) : Command
ParseExpected ( LexemType type, string value, string expected ) : void
ParseExpression ( ) : Expression
ParseKeywordComment ( ) : Command
ParseKeywordDeclare ( ) : Command
ParseKeywordDump ( ) : Command
ParseKeywordEcho ( ) : Command
ParseKeywordFor ( ) : Command
ParseKeywordIf ( ) : Command
ParseKeywordReturn ( ) : Command
ParseKeywordSet ( ) : Command
ParseKeywordWhile ( ) : Command
ParseOperand ( ) : Expression
ParseSymbol ( ) : string
ParseValue ( ) : Expression
Raise ( string expected ) : Exception

Method Details

DefaultParser() public method

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

Parse() public method

public Parse ( TextReader reader ) : Command
reader System.IO.TextReader
return Command