コード例 #1
0
        private void RunTest(string test)
        {
            var p  = new GccMangledNameParser(test, 4);
            var sp = p.Parse();
            var sb = new StringBuilder();

            Debug.Print(new Renderer(sb).Render(p.Modifier, p.Scope, sp.Name, sp.Type));
        }
コード例 #2
0
        private void RunTest(string expected, string parse)
        {
            var p  = new GccMangledNameParser(parse, 4);
            var sp = p.Parse();
            var sb = new StringBuilder();

            Assert.AreEqual(expected, new Renderer(sb).Render(p.Modifier, p.Scope, sp.Name, sp.Type));
        }