Example usage for org.antlr.v4.runtime ANTLRInputStream subclass-usage

List of usage examples for org.antlr.v4.runtime ANTLRInputStream subclass-usage

Introduction

In this page you can find the example usage for org.antlr.v4.runtime ANTLRInputStream subclass-usage.

Usage

From source file AntlrCaseInsensitiveInputStream.java

/**
 *
 * @author Sam Harwell
 */
public class AntlrCaseInsensitiveInputStream extends ANTLRInputStream {

From source file com.espertech.esper.epl.parse.NoCaseSensitiveStream.java

/**
 * For use with ANTLR to create a case-insensitive token stream.
 */
public class NoCaseSensitiveStream extends ANTLRInputStream {
    /**
     * Ctor.

From source file com.huawei.streaming.cql.semanticanalyzer.parser.ANTLRIgnoreCaseStringStream.java

/**
 * ?antlr?
 * antlr?CQL???
 * ????
 * 
 */

From source file com.yahoo.yqlplus.language.internal.parser.CaseInsensitiveInputStream.java

/**
 * Enable ANTLR to do case insensitive comparisons when reading from files without throwing away the case in the token.
 */
public class CaseInsensitiveInputStream extends ANTLRInputStream {
    public CaseInsensitiveInputStream() {
        super();

From source file org.elasticsearch.xpack.sql.parser.CaseInsensitiveStream.java

class CaseInsensitiveStream extends ANTLRInputStream {
    protected char[] uppedChars;

    CaseInsensitiveStream(String input) {
        super(input);
        this.uppedChars = input.toUpperCase(Locale.ROOT).toCharArray();

From source file org.gerryai.planning.parser.pddl.internal.CaseInsensitiveInputStream.java

/**
 * Input stream for ANTLR that converts the input data to lower case for the lexer, essentially making the grammar
 * case insensitive. The original test is still returned for everything except the lexer, so toLowerCase() needs
 * to be used on calls to getText(), etc if the tokens need to be case insensitive too.
 */
public class CaseInsensitiveInputStream extends ANTLRInputStream {

From source file org.osate.ba.utils.CaseInsensitiveCharStream.java

public class CaseInsensitiveCharStream extends ANTLRInputStream {

    public CaseInsensitiveCharStream(String src) {
        super(src);
    }