C# 클래스 Tools.Lexer

파일 보기 프로젝트 열기: Ezakhiel/Donate-Money-For-Unicorns-ubbse2015 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_buf string
m_debug bool
m_pch int
m_state string
yytext string

공개 메소드들

메소드 설명
Advance ( ) : void
GetChar ( ) : int
GetEnumerator ( ) : _Enumerator
Lexer ( YyLexer tks ) : System
Matching ( bool b ) : void
Next ( ) : TOKEN
PeekChar ( ) : char
Reset ( ) : void
Restore ( int mark ) : void
Saypos ( int pos ) : string
Start ( CsReader inFile ) : void
Start ( StreamReader inFile ) : void
Start ( string buf ) : void
UnGetChar ( ) : void
sourceLine ( SourceLineInfo s ) : string
sourceLineInfo ( int pos ) : SourceLineInfo
yy_begin ( string newstate ) : void

비공개 메소드들

메소드 설명
Mark ( ) : int
Match ( TOKEN &tok, Dfa dfa ) : bool
TryActions ( Dfa dfa, TOKEN &tok ) : bool

메소드 상세

Advance() 공개 메소드

public Advance ( ) : void
리턴 void

GetChar() 공개 메소드

public GetChar ( ) : int
리턴 int

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : _Enumerator
리턴 _Enumerator

Lexer() 공개 메소드

public Lexer ( YyLexer tks ) : System
tks YyLexer
리턴 System

Matching() 공개 메소드

public Matching ( bool b ) : void
b bool
리턴 void

Next() 공개 메소드

public Next ( ) : TOKEN
리턴 TOKEN

PeekChar() 공개 메소드

public PeekChar ( ) : char
리턴 char

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Restore() 공개 메소드

public Restore ( int mark ) : void
mark int
리턴 void

Saypos() 공개 메소드

public Saypos ( int pos ) : string
pos int
리턴 string

Start() 공개 메소드

public Start ( CsReader inFile ) : void
inFile CsReader
리턴 void

Start() 공개 메소드

public Start ( StreamReader inFile ) : void
inFile System.IO.StreamReader
리턴 void

Start() 공개 메소드

public Start ( string buf ) : void
buf string
리턴 void

UnGetChar() 공개 메소드

public UnGetChar ( ) : void
리턴 void

sourceLine() 공개 메소드

public sourceLine ( SourceLineInfo s ) : string
s SourceLineInfo
리턴 string

sourceLineInfo() 공개 메소드

public sourceLineInfo ( int pos ) : SourceLineInfo
pos int
리턴 SourceLineInfo

yy_begin() 공개 메소드

public yy_begin ( string newstate ) : void
newstate string
리턴 void

프로퍼티 상세

m_buf 공개적으로 프로퍼티

public string m_buf
리턴 string

m_debug 공개적으로 프로퍼티

public bool m_debug
리턴 bool

m_pch 공개적으로 프로퍼티

public int m_pch
리턴 int

m_state 공개적으로 프로퍼티

public string m_state
리턴 string

yytext 공개적으로 프로퍼티

public string yytext
리턴 string