C# Class Kaleidoscope.Chapter5.Parser

Afficher le fichier Open project: aaronrandolph/LLVM.NET Class Usage Examples

Méthodes publiques

Méthode Description
GetNextToken ( ) : TokenCode
ParseDefinition ( ) : FunctionAST
ParseExtern ( ) : PrototypeAST
ParseTopLevelExpr ( ) : FunctionAST
Parser ( Lexer lexer ) : System

Private Methods

Méthode 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
Parser ( ) : System

Method Details

GetNextToken() public méthode

public GetNextToken ( ) : TokenCode
Résultat TokenCode

ParseDefinition() public méthode

public ParseDefinition ( ) : FunctionAST
Résultat FunctionAST

ParseExtern() public méthode

public ParseExtern ( ) : PrototypeAST
Résultat PrototypeAST

ParseTopLevelExpr() public méthode

public ParseTopLevelExpr ( ) : FunctionAST
Résultat FunctionAST

Parser() public méthode

public Parser ( Lexer lexer ) : System
lexer Lexer
Résultat System