C# Class AjTalk.Compiler.Parser

Mostrar archivo Open project: ajlopez/AjTalk Class Usage Examples

Public Methods

Method Description
CompileBlock ( ) : Block
CompileClassMethod ( IBehavior cls ) : Method
CompileInstanceMethod ( IBehavior cls ) : Method
Parser ( Lexer tok ) : System
Parser ( string text ) : System

Private Methods

Method Description
CompileArguments ( ) : void
CompileBinaryExpression ( ) : void
CompileBlockArguments ( ) : void
CompileBlockLocals ( ) : void
CompileBody ( ) : void
CompileByteCollection ( ) : void
CompileCollection ( ) : object[]
CompileCommand ( ) : bool
CompileDynamicCollection ( ) : void
CompileExpression ( ) : void
CompileInteger ( ) : int
CompileKeywordArguments ( ) : void
CompileKeywordExpression ( ) : void
CompileLocals ( ) : void
CompileMethod ( IBehavior cls ) : void
CompileName ( ) : string
CompileString ( ) : string
CompileTerm ( ) : void
CompileToken ( TokenType type, string value ) : void
CompileUnaryExpression ( ) : void
NextToken ( ) : Token
PushToken ( Token token ) : void
TryCompileInteger ( ) : int?
TryCompileToken ( TokenType type, string value ) : bool
TryPeekToken ( TokenType type, string value ) : bool

Method Details

CompileBlock() public method

public CompileBlock ( ) : Block
return AjTalk.Language.Block

CompileClassMethod() public method

public CompileClassMethod ( IBehavior cls ) : Method
cls IBehavior
return AjTalk.Language.Method

CompileInstanceMethod() public method

public CompileInstanceMethod ( IBehavior cls ) : Method
cls IBehavior
return AjTalk.Language.Method

Parser() public method

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

Parser() public method

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