VmParser extends AbstractParser { @Override public Node parse(final String fileName, final Reader source) throws ParseException { AbstractTokenManager.setFileName(fileName); return new net.sourceforge.pmd.lang.vm.ast.VmParser(new VelocityCharStream(source, 1, 1)).process(); } VmParser(final ParserOptions parserOptions); @Override TokenManager createTokenManager(final Reader source); @Override boolean canParse(); @Override Node parse(final String fileName, final Reader source); @Override Map<Integer, String> getSuppressMap();  }
@Test public void testParser() { final Node node = parse(VM_SRC); Assert.assertNotNull(node); }
@Test public void testParser2() { final Node node = parse(SRC2); Assert.assertNotNull(node); }
@Test public void testParser3() { final Node node = parse(SRC3); Assert.assertNotNull(node); }