C# 클래스 Kaleidoscope.Chapter5.Parser

파일 보기 프로젝트 열기: aaronrandolph/LLVM.NET 1 사용 예제들

공개 메소드들

메소드 설명
GetNextToken ( ) : TokenCode
ParseDefinition ( ) : FunctionAST
ParseExtern ( ) : PrototypeAST
ParseTopLevelExpr ( ) : FunctionAST
Parser ( Lexer lexer ) : System

비공개 메소드들

메소드 설명
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

메소드 상세

GetNextToken() 공개 메소드

public GetNextToken ( ) : TokenCode
리턴 TokenCode

ParseDefinition() 공개 메소드

public ParseDefinition ( ) : FunctionAST
리턴 FunctionAST

ParseExtern() 공개 메소드

public ParseExtern ( ) : PrototypeAST
리턴 PrototypeAST

ParseTopLevelExpr() 공개 메소드

public ParseTopLevelExpr ( ) : FunctionAST
리턴 FunctionAST

Parser() 공개 메소드

public Parser ( Lexer lexer ) : System
lexer Lexer
리턴 System