(Class<? extends Lexer> lexerClass, ANTLRInputStream input)
| 270 | } |
| 271 | |
| 272 | public static Lexer getLexer(Class<? extends Lexer> lexerClass, ANTLRInputStream input) throws NoSuchMethodException, InstantiationException, IllegalAccessException, java.lang.reflect.InvocationTargetException { |
| 273 | Constructor<? extends Lexer> lexerCtor = |
| 274 | lexerClass.getConstructor(CharStream.class); |
| 275 | return lexerCtor.newInstance(input); |
| 276 | } |
| 277 | |
| 278 | /** Get all file contents into input doc list */ |
| 279 | public static List<InputDocument> load(List<String> fileNames, LangDescriptor language) |
no test coverage detected