C# 클래스 Ancestry.Daisy.Language.DaisyParser

파일 보기 프로젝트 열기: Ancestry/Daisy 1 사용 예제들

공개 메소드들

메소드 설명
DaisyParser ( LookAheadStream tokenStream ) : System.Collections.Generic
Parse ( ) : DaisyAst
Parse ( string code ) : DaisyAst

비공개 메소드들

메소드 설명
AssertHasType ( TokenKind kind ) : void
Consume ( TokenKind kind ) : void
IsOn ( ) : bool
IsOn ( IEnumerable kinds ) : bool
LookAhead ( int lookTo, TokenKind expected ) : bool
MoveNextGuaranteed ( ) : void
ParseAnd ( IDaisyAstNode left ) : AndOperatorNode
ParseExpression ( ) : IDaisyAstNode
ParseGroup ( StatementNode head ) : IDaisyAstNode
ParseOr ( IDaisyAstNode left ) : OrOperatorNode
ParsePredicate ( ) : IDaisyAstNode
ParseStatement ( ) : StatementNode
ParseUnaryExpr ( ) : IDaisyAstNode

메소드 상세

DaisyParser() 공개 메소드

public DaisyParser ( LookAheadStream tokenStream ) : System.Collections.Generic
tokenStream LookAheadStream
리턴 System.Collections.Generic

Parse() 공개 메소드

public Parse ( ) : DaisyAst
리턴 DaisyAst

Parse() 공개 정적인 메소드

public static Parse ( string code ) : DaisyAst
code string
리턴 DaisyAst