Beispiel #1
0
        private static TestContext SetupContext(string code, bool suppressMethodSignature)
        {
            LookAheadLangParser parser = LookAheadLangParser.CreateCppParser(TestUtil.GetTextStream(code));
            CCCParser           ccc    = new CCCParser(parser, suppressMethodSignature);

            TestContext context = new TestContext(parser, ccc);

            return(context);
        }
Beispiel #2
0
 public TestContext(LookAheadLangParser parser, CCCParser ccc)
 {
     this.parser = parser;
     this.ccc    = ccc;
 }