C# Класс NPLMono.NPLLex

lexer for NPL files. It is the same lexer of lua 5.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