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

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

Introduction

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

Usage

From source file BrahmsParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class BrahmsParser extends Parser {
    static {
        RuntimeMetaData.checkVersion("4.5.3", RuntimeMetaData.VERSION);
    }

From source file amulet.translator.CParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class CParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int T__6 = 1, T__5 = 2, T__4 = 3, T__3 = 4, T__2 = 5, T__1 = 6, T__0 = 7,
            SomePreprocessorStuff = 8, Auto = 9, Break = 10, Case = 11, Char = 12, Const = 13, Continue = 14,

From source file aqua.nix.cli.dsl.InputParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class InputParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int T__2 = 1, T__1 = 2, T__0 = 3, NUM = 4, ALPHA = 5, WS = 6, NL = 7;
    public static final String[] tokenNames = { "<INVALID>", "'_'", "'-'", "'|'", "NUM", "ALPHA", "WS", "NL" };

From source file br.unicamp.cst.representation.owrl.grammar.OwrlParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class OwrlParser extends Parser {
    static {
        RuntimeMetaData.checkVersion("4.5.3", RuntimeMetaData.VERSION);
    }

From source file com.gigaspaces.persistency.parser.SQL2MongoParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class SQL2MongoParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int T__11 = 1, T__10 = 2, T__9 = 3, T__8 = 4, T__7 = 5, T__6 = 6, T__5 = 7, T__4 = 8,
            T__3 = 9, T__2 = 10, T__1 = 11, T__0 = 12, OR = 13, AND = 14, NULL = 15, PRAM = 16, ID = 17, NAME = 18,

From source file com.github.minlywang.dsl.calc.CalcParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class CalcParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int T__8 = 1, T__7 = 2, T__6 = 3, T__5 = 4, T__4 = 5, T__3 = 6, T__2 = 7, T__1 = 8,
            T__0 = 9, HexLiteral = 10, DecimalLiteral = 11, OctalLiteral = 12, STRING_LITERAL = 13, ID = 14,

From source file com.liferay.dynamic.data.mapping.expression.internal.parser.DDMExpressionParser.java

/**
 * @author Brian Wing Shun Chan
 */
@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class DDMExpressionParser extends Parser {
    static {

From source file com.liferay.dynamic.data.mapping.form.values.query.internal.parser.DDMFormValuesQueryParser.java

/**
 * @author Brian Wing Shun Chan
 */
@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class DDMFormValuesQueryParser extends Parser {
    static {

From source file com.netflix.java.refactor.aspectj.AnnotationSignatureParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class AnnotationSignatureParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int THROW = 46, STATIC = 40, INTERFACE = 30, AND_ASSIGN = 95, BREAK = 6, BYTE = 7,
            ELSE = 17, IF = 24, ENUM = 18, SUB = 84, BANG = 71, LPAREN = 59, DOT = 67, CASE = 8, AT = 103,

From source file com.netflix.java.refactor.aspectj.JavaParser.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class JavaParser extends Parser {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int THROW = 44, STATIC = 38, INTERFACE = 28, AND_ASSIGN = 93, BREAK = 4, BYTE = 5,
            ELSE = 15, IF = 22, ENUM = 16, SUB = 82, BANG = 69, LPAREN = 57, DOT = 65, CASE = 6, AT = 101,