コード例 #1
0
ファイル: CCCParserTests.cs プロジェクト: Tallmaris/ccm
 public TestContext(LookAheadLangParser parser, CCCParser ccc)
 {
     this.parser = parser;
     this.ccc = ccc;
 }
コード例 #2
0
ファイル: CCCParserTests.cs プロジェクト: Tallmaris/ccm
        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;
        }