C# 클래스 NPLMono.NPLLex

lexer for NPL files. It is the same lexer of lua 5.1
파일 보기 프로젝트 열기: LiXizhi/NPLRuntime 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
m_lexState LexState
m_zio Zio

공개 메소드들

메소드 설명
GetState ( ) : LexState
NPLLex ( )
SetInput ( string input ) : LexState
ThrowError ( LexState ls, string errorMsg ) : void
checkbuffer ( LexState LS, int len ) : void
inclinenumber ( LexState LS ) : void
luaX_checklimit ( LexState ls, int val, int limit, string msg ) : void
luaX_error ( LexState ls, string s, string token ) : void
luaX_errorline ( LexState ls, string s, string token, int line ) : void
luaX_lex ( LexState LS, SemInfo seminfo ) : int
luaX_lexerror ( LexState ls, string s, int token ) : void
luaX_syntaxerror ( LexState ls, string msg ) : void
luaX_token2str ( LexState ls, int token ) : string
next ( LexState LS ) : int
read_long_string ( LexState LS, SemInfo seminfo ) : void
read_numeral ( LexState LS, int comma, SemInfo seminfo ) : void
read_string ( LexState LS, int del, SemInfo seminfo ) : void
readname ( LexState LS ) : int
save ( LexState LS, char c, int &l ) : void
save_and_next ( LexState LS, int &l ) : void

메소드 상세

GetState() 공개 메소드

public GetState ( ) : LexState
리턴 LexState

NPLLex() 공개 메소드

public NPLLex ( )

SetInput() 공개 메소드

public SetInput ( string input ) : LexState
input string
리턴 LexState

ThrowError() 공개 정적인 메소드

public static ThrowError ( LexState ls, string errorMsg ) : void
ls LexState
errorMsg string
리턴 void

checkbuffer() 공개 정적인 메소드

public static checkbuffer ( LexState LS, int len ) : void
LS LexState
len int
리턴 void

inclinenumber() 공개 정적인 메소드

public static inclinenumber ( LexState LS ) : void
LS LexState
리턴 void

luaX_checklimit() 공개 정적인 메소드

public static luaX_checklimit ( LexState ls, int val, int limit, string msg ) : void
ls LexState
val int
limit int
msg string
리턴 void

luaX_error() 공개 정적인 메소드

public static luaX_error ( LexState ls, string s, string token ) : void
ls LexState
s string
token string
리턴 void

luaX_errorline() 공개 정적인 메소드

public static luaX_errorline ( LexState ls, string s, string token, int line ) : void
ls LexState
s string
token string
line int
리턴 void

luaX_lex() 공개 정적인 메소드

public static luaX_lex ( LexState LS, SemInfo seminfo ) : int
LS LexState
seminfo SemInfo
리턴 int

luaX_lexerror() 공개 정적인 메소드

public static luaX_lexerror ( LexState ls, string s, int token ) : void
ls LexState
s string
token int
리턴 void

luaX_syntaxerror() 공개 정적인 메소드

public static luaX_syntaxerror ( LexState ls, string msg ) : void
ls LexState
msg string
리턴 void

luaX_token2str() 공개 정적인 메소드

public static luaX_token2str ( LexState ls, int token ) : string
ls LexState
token int
리턴 string

next() 공개 정적인 메소드

public static next ( LexState LS ) : int
LS LexState
리턴 int

read_long_string() 공개 정적인 메소드

public static read_long_string ( LexState LS, SemInfo seminfo ) : void
LS LexState
seminfo SemInfo
리턴 void

read_numeral() 공개 정적인 메소드

public static read_numeral ( LexState LS, int comma, SemInfo seminfo ) : void
LS LexState
comma int
seminfo SemInfo
리턴 void

read_string() 공개 정적인 메소드

public static read_string ( LexState LS, int del, SemInfo seminfo ) : void
LS LexState
del int
seminfo SemInfo
리턴 void

readname() 공개 정적인 메소드

public static readname ( LexState LS ) : int
LS LexState
리턴 int

save() 공개 정적인 메소드

public static save ( LexState LS, char c, int &l ) : void
LS LexState
c char
l int
리턴 void

save_and_next() 공개 정적인 메소드

public static save_and_next ( LexState LS, int &l ) : void
LS LexState
l int
리턴 void

프로퍼티 상세

m_lexState 공개적으로 프로퍼티

public LexState m_lexState
리턴 LexState

m_zio 공개적으로 프로퍼티

public Zio m_zio
리턴 Zio