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

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

Introduction

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

Usage

From source file BrahmsLexer.java

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

From source file PhpBaseLexer.java

public abstract class PhpBaseLexer extends Lexer {
    protected boolean AspTags = true;
    protected boolean _scriptTag;
    protected boolean _styleTag;
    protected String _heredocIdentifier;
    protected int _prevTokenType;

From source file amulet.translator.CLexer.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class CLexer extends Lexer {
    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.InputLexer.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class InputLexer extends Lexer {
    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 String[] modeNames = { "DEFAULT_MODE" };

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

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

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

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class SQL2MongoLexer extends Lexer {
    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.CalcLexer.java

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class CalcLexer extends Lexer {
    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.DDMExpressionLexer.java

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

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

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

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

@SuppressWarnings({ "all", "warnings", "unchecked", "unused", "cast" })
public class AspectJLexer extends Lexer {
    protected static final DFA[] _decisionToDFA;
    protected static final PredictionContextCache _sharedContextCache = new PredictionContextCache();
    public static final int DOTDOT = 1, SPACE = 2, ABSTRACT = 3, ASSERT = 4, BOOLEAN = 5, BREAK = 6, BYTE = 7,
            CASE = 8, CATCH = 9, CHAR = 10, CLASS = 11, CONST = 12, CONTINUE = 13, DEFAULT = 14, DO = 15,