C# Class Kaleidoscope.Chapter4.Parser

Show file Open project: aaronrandolph/LLVM.NET Class Usage Examples

Public Methods

Method Description
GetNextToken ( ) : TokenCode
ParseDefinition ( ) : FunctionAST
ParseExtern ( ) : PrototypeAST
ParseTopLevelExpr ( ) : FunctionAST
Parser ( Lexer lexer ) : System

Private Methods

Method Description
Error ( string str ) : ExprAST
ErrorF ( string str ) : FunctionAST
ErrorP ( string str ) : PrototypeAST
GetTokenPrecedence ( ) : int
ParseBinOpRHS ( int exprPrec, ExprAST lhs ) : ExprAST
ParseExpression ( ) : ExprAST
ParseIdentifierExp ( ) : ExprAST
ParseNumberExpr ( ) : ExprAST
ParseParenExpr ( ) : ExprAST
ParsePrimary ( ) : ExprAST
ParsePrototype ( ) : PrototypeAST
Parser ( ) : System

Method Details

GetNextToken() public method

public GetNextToken ( ) : TokenCode
return TokenCode

ParseDefinition() public method

public ParseDefinition ( ) : FunctionAST
return FunctionAST

ParseExtern() public method

public ParseExtern ( ) : PrototypeAST
return PrototypeAST

ParseTopLevelExpr() public method

public ParseTopLevelExpr ( ) : FunctionAST
return FunctionAST

Parser() public method

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