NPLMono.NPLLex.luaX_token2str C# (CSharp) 메소드

luaX_token2str() 공개 정적인 메소드

public static luaX_token2str ( LexState ls, int token ) : string
ls LexState
token int
리턴 string
        public static string luaX_token2str(LexState ls, int token)
        {
            if (token < FIRST_RESERVED)
            {
                return string.Format("{0}", token);
            }
            else
                return token2string[token - FIRST_RESERVED];
        }