C# Class AjScript.Interpreter.Parser

Inheritance: IDisposable
Mostrar archivo Open project: ajlopez/AjScript Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
ParseCommand ( ) : ICommand
ParseCommands ( ) : ICommand
ParseExpression ( ) : IExpression
Parser ( Lexer lexer ) : System
Parser ( TextReader reader ) : System
Parser ( string text ) : System

Private Methods

Method Description
AddCommand ( IList commands, ICommand command ) : void
IsHoistedCommand ( ICommand command ) : bool
IsNoOperationCommand ( ICommand command ) : bool
IsValidName ( string name ) : void
Parse ( TokenType type, string value ) : void
ParseArgumentList ( ) : IList
ParseArgumentNames ( ) : IList
ParseArrayArgumentList ( ) : IList
ParseArrayExpression ( ) : IExpression
ParseBinaryExpressionFirstLevel ( ) : IExpression
ParseBinaryExpressionSecondLevel ( ) : IExpression
ParseBinaryExpressionZerothLevel ( ) : IExpression
ParseBinaryLogicalExpressionLevelOne ( ) : IExpression
ParseBinaryLogicalExpressionLevelTwo ( ) : IExpression
ParseCompositeCommand ( ) : CompositeCommand
ParseDeleteCommand ( ) : ICommand
ParseForCommand ( ) : ICommand
ParseForInCommand ( ) : ICommand
ParseFunctionExpression ( ) : AjScript.Expressions.FunctionExpression
ParseIfCommand ( ) : ICommand
ParseName ( ) : string
ParseNewExpression ( ) : IExpression
ParseObjectExpression ( ) : IExpression
ParseQualifiedName ( ) : IExpression
ParseReturnCommand ( ) : ICommand
ParseSimpleCommand ( ) : ICommand
ParseSimpleTermExpression ( ) : IExpression
ParseTermExpression ( ) : IExpression
ParseUnaryExpression ( ) : IExpression
ParseVarCommand ( ) : ICommand
ParseWhileCommand ( ) : ICommand
TryParse ( TokenType type ) : bool
TryPeekName ( ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

ParseCommand() public method

public ParseCommand ( ) : ICommand
return ICommand

ParseCommands() public method

public ParseCommands ( ) : ICommand
return ICommand

ParseExpression() public method

public ParseExpression ( ) : IExpression
return IExpression

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