927928929930931932933934
NodeTestDSLParser parser = getParser( is ); return compile( parser ); } public static NodeTestCase compile(final String source) throws IOException { NodeTestDSLParser parser = getParser( source ); return compile( parser ); }
962963964965966967968969
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; }
968969970971972973974975
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; }
974975976977978979980981
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; }
748749750751752753754755
e ); } } public static NodeTestCase compile(final Reader reader) throws IOException { NodeTestDSLParser parser = getParser( reader ); return compile( parser ); }
753754755756757758759760
NodeTestDSLParser parser = getParser( reader ); return compile( parser ); } public static NodeTestCase compile(final InputStream is) throws IOException { NodeTestDSLParser parser = getParser( is ); return compile( parser ); }
758759760761762763764765
793794795796797798799800
799800801802803804805806
805806807808809810811812