C# 클래스 NetBase.Sql.Tokenizer

Does quite a lot of hard work to parse the query. Based on Jack Crenshaw's "Let's Build a compiler". I know, should really be using a parser generator, but the point is to learn how these kind of things work.
파일 보기 프로젝트 열기: buttonpusher/NetBase 1 사용 예제들

공개 메소드들

메소드 설명
GetToken ( ) : void
Match ( string token ) : void
Tokenizer ( string stmt ) : System

비공개 메소드들

메소드 설명
ChewSpace ( ) : void
GetChar ( ) : void
GetQuotedToken ( ) : string
MatchChar ( char token ) : void

메소드 상세

GetToken() 공개 메소드

public GetToken ( ) : void
리턴 void

Match() 공개 메소드

public Match ( string token ) : void
token string
리턴 void

Tokenizer() 공개 메소드

public Tokenizer ( string stmt ) : System
stmt string
리턴 System