C# Class AjErl.Compiler.Parser

ファイルを表示 Open project: ajlopez/AjErl Class Usage Examples

Public Methods

Method Description
ParseExpression ( ) : IExpression
ParseForm ( ) : IForm
Parser ( Lexer lexer ) : System
Parser ( TextReader reader ) : System
Parser ( string text ) : System

Private Methods

Method Description
IsBinaryOperator ( int level, Token token ) : bool
NextToken ( ) : Token
ParseAtom ( ) : string
ParseBinaryExpression ( int level ) : IExpression
ParseCompositeExpression ( ) : IExpression
ParseExportForm ( ) : IForm
ParseExpressionList ( ) : IList
ParseFunExpression ( ) : IExpression
ParseFunctionForm ( ) : FunctionForm
ParseInteger ( ) : int
ParseMatchExpression ( ) : IExpression
ParseModuleForm ( ) : IForm
ParsePoint ( ) : void
ParseReceiveExpression ( ) : IExpression
ParseSimpleExpression ( ) : IExpression
ParseSimpleFunExpression ( ) : FunExpression
ParseTerm ( ) : IExpression
ParseToken ( TokenType type, string value ) : void
PushToken ( Token token ) : void
TryParseAtom ( string value ) : bool
TryParseToken ( TokenType type, string value ) : bool

Method Details

ParseExpression() public method

public ParseExpression ( ) : IExpression
return IExpression

ParseForm() public method

public ParseForm ( ) : IForm
return IForm

Parser() public method

public Parser ( Lexer lexer ) : System
lexer Lexer
return System

Parser() public method

public Parser ( TextReader reader ) : System
reader TextReader
return System

Parser() public method

public Parser ( string text ) : System
text string
return System