use of org.apache.nifi.hl7.query.antlr.HL7QueryLexer in project nifi by apache.
the class HL7Query method createTokenStream.
private static CommonTokenStream createTokenStream(final String expression) throws HL7QueryParsingException {
final CharStream input = new ANTLRStringStream(expression);
final HL7QueryLexer lexer = new HL7QueryLexer(input);
return new CommonTokenStream(lexer);
}
Aggregations