C# Class Kaleidoscope.Chapter6.Parser

ファイルを表示 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
ParseForExpr ( ) : ExprAST
ParseIdentifierExp ( ) : ExprAST
ParseIfExpr ( ) : ExprAST
ParseNumberExpr ( ) : ExprAST
ParseParenExpr ( ) : ExprAST
ParsePrimary ( ) : ExprAST
ParsePrototype ( ) : PrototypeAST
ParseUnary ( ) : ExprAST

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