use of net.sourceforge.pmd.lang.apex.ApexParserOptions in project pmd by pmd.
the class ApexCompilerSoqlTest method testSoqlCompilation.
@Test
public void testSoqlCompilation() {
ApexParser parser = new ApexParser(new ApexParserOptions());
ApexNode<Compilation> cu = parser.parse(new StringReader(CODE));
Assert.assertNotNull(cu);
}
use of net.sourceforge.pmd.lang.apex.ApexParserOptions in project pmd by pmd.
the class ApexParserTestHelpers method parse.
public static ApexNode<Compilation> parse(String code) {
ApexParser parser = new ApexParser(new ApexParserOptions());
Reader reader = new StringReader(code);
return parser.parse(reader);
}
Aggregations