walker.compilation_unit();
return walker.getTestCase();
}
private static NodeTestDSLParser getParser(final Reader reader) throws IOException {
NodeTestDSLLexer lexer = new NodeTestDSLLexer( new ANTLRReaderStream( reader ) );
NodeTestDSLParser parser = new NodeTestDSLParser( new CommonTokenStream( lexer ) );
return parser;
}