コード例 #1
0
 public void QueryAll_PrimitiveType(string type)
 {
     TestQueryAll(
         new[] { type },
         TestSyntaxFactory.ParseStatement($"{type} x;"),
         $"//{type}"
         );
 }
コード例 #2
0
 public void QueryAll_Statement(string query, string code, string expected)
 {
     TestQueryAll(new[] { expected }, TestSyntaxFactory.ParseStatement(code), query);
 }
コード例 #3
0
 public void QueryAll_SwitchSection(string query, string code, string[] expected)
 {
     TestQueryAll(expected, TestSyntaxFactory.ParseStatement(code), query);
 }