// TODO implement useful format for code snippets
// final String input = source.substring(offset, offset + length);
if (StringUtils.isEmpty(input)) {
return null;
}
RutaSourceParser tmsp = new RutaSourceParser();
DummyReporter reporter = new DummyReporter();
IModuleDeclaration md = tmsp.parse("format" + RutaEngine.SCRIPT_FILE_EXTENSION, source,
reporter);
CommonTokenStream tokenStream = tmsp.getTokenStream();
if (!reporter.gotProblems()) {
BitSet bs = new BitSet();
bs.add(org.apache.uima.ruta.parser.RutaParser.LINE_COMMENT);