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

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

공개 메소드들

메소드 설명
Lex ( ) : IEnumerable
LexLine ( ) : IEnumerable
Lexer ( Stream stream ) : System
TrimLeadingSpaces ( string &line ) : int

비공개 메소드들

메소드 설명
ChunkOff ( string line, string clause, List tokens, TokenKind kind ) : string
InterpretLine ( string line ) : IList
InterpretSpaces ( List tokens, string line ) : string

메소드 상세

Lex() 공개 메소드

public Lex ( ) : IEnumerable
리턴 IEnumerable

LexLine() 공개 메소드

public LexLine ( ) : IEnumerable
리턴 IEnumerable

Lexer() 공개 메소드

public Lexer ( Stream stream ) : System
stream Stream
리턴 System

TrimLeadingSpaces() 공개 정적인 메소드

public static TrimLeadingSpaces ( string &line ) : int
line string
리턴 int