CSLE.CLS_Expression_Compiler.LogError C# (CSharp) Method

LogError() public method

public LogError ( IList tlist, string text, int pos, int posend ) : void
tlist IList
text string
pos int
posend int
return void
        public void LogError(IList<Token> tlist,string text,int pos,int posend)
        {
            string str = "";
            for (int i = pos; i <= posend;i++ )
            {
                str += tlist[i].text + " ";
            }
            logger.Log_Error(text+":" + str + "(" + pos + "-" + posend + ")");
        }
        //可以搞出Block