public LLex(StringLoadInfo loadinfo, string name) { LoadInfo = loadinfo; LineNumber = 1; LastLine = 1; Token = null; LookAhead = null; _Saved = null; Source = name; _Next(); }
public static FuncSignature Parse( ILuaState lua, string signature) { var loadinfo = new StringLoadInfo(signature); var parser = new FuncSignatureParser(); parser.Lexer = new LLex(lua, loadinfo, signature); parser.Result = new FuncSignature(); return(parser.parse(signature)); }
public ThreadStatus L_LoadBufferX(string s, string name, string mode) { var loadinfo = new StringLoadInfo(s); return(API.Load(loadinfo, name, mode)); }