Example #1
0
        public string TokenToString(SyntaxToken token, out int xsId)
        {
            string xsStr = RoslynCompiler.TokenMark(token);

            xsId = xsStr == null ? -1 : int.Parse(xsStr);
            return(token.ToFullString());
        }
Example #2
0
        public int GetExcessId(SyntaxToken token)
        {
            string xsStr = RoslynCompiler.TokenMark(token);

            return(xsStr == null ? -1 : int.Parse(xsStr));
        }
Example #3
0
 public string TokenToString(SyntaxToken token, out string xsId)
 {
     xsId = RoslynCompiler.TokenMark(token);
     return(token.ToFullString());
 }