918919920921922923924925
e ); } } public static NodeTestCase compile(final Reader reader) throws IOException { NodeTestDSLParser parser = getParser( reader ); return compile( parser ); }
923924925926927928929930
NodeTestDSLParser parser = getParser( reader ); return compile( parser ); } public static NodeTestCase compile(final InputStream is) throws IOException { NodeTestDSLParser parser = getParser( is ); return compile( parser ); }
928929930931932933934935
NodeTestDSLParser parser = getParser( is ); return compile( parser ); } public static NodeTestCase compile(final String source) throws IOException { NodeTestDSLParser parser = getParser( source ); return compile( parser ); }
963964965966967968969970
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; }
969970971972973974975976
return parser; } private static NodeTestDSLParser getParser(final InputStream is) throws IOException { NodeTestDSLLexer lexer = new NodeTestDSLLexer( new ANTLRInputStream( is ) ); NodeTestDSLParser parser = new NodeTestDSLParser( new CommonTokenStream( lexer ) ); return parser; }
975976977978979980981982
return parser; } private static NodeTestDSLParser getParser(final String source) throws IOException { NodeTestDSLLexer lexer = new NodeTestDSLLexer( new ANTLRStringStream( source ) ); NodeTestDSLParser parser = new NodeTestDSLParser( new CommonTokenStream( lexer ) ); return parser; }
926927928929930931932933
931932933934935936937938
936937938939940941942943
971972973974975976977978