Example usage for org.antlr.v4.runtime TokenFactory interface-usage

List of usage examples for org.antlr.v4.runtime TokenFactory interface-usage

Introduction

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

Usage

From source file edu.clemson.cs.r2jt.absynnew.ResolveTokenFactory.java

/**
 * <p>A <code>ResolveTokenFactory</code> produces {@link ResolveToken}s. This
 * can be plugged into to the RESOLVE parser and lexer to outfit the parse tree
 * with {@link ResolveToken}s, as opposed to {@link CommonToken}s.</p>
 */
public class ResolveTokenFactory implements TokenFactory<ResolveToken> {

From source file edu.clemson.cs.rsrg.parsing.data.ResolveTokenFactory.java

/**
 * <p>A {@code ResolveTokenFactory} produces {@link ResolveToken}s. This
 * can be plugged into to the RESOLVE lexer and parser to outfit the parse tree
 * with {@link ResolveToken}s, as opposed to {@link CommonToken}s.</p>
 *
 * @author Yu-Shan Sun

From source file net.certiv.json.parser.JsonTokenFactory.java

public class JsonTokenFactory implements TokenFactory<JsonToken> {

    public CharStream input;

    public JsonTokenFactory(CharStream input) {
        this.input = input;

From source file org.eclipse.titan.designer.parsers.asn1parser.TokenWithIndexAndSubTokensFactory.java

public class TokenWithIndexAndSubTokensFactory implements TokenFactory<TokenWithIndexAndSubTokens> {
    public static final TokenFactory<TokenWithIndexAndSubTokens> DEFAULT = new TokenWithIndexAndSubTokensFactory();
    protected final boolean copyText;

    public TokenWithIndexAndSubTokensFactory() {
        this(false);

From source file org.eclipse.titan.designer.parsers.ttcn3parser.PPDirectiveTokenFactory.java

public class PPDirectiveTokenFactory implements TokenFactory<CommonToken> {
    public static final TokenFactory<CommonToken> DEFAULT = new PPDirectiveTokenFactory();
    protected final boolean copyText;
    Token token;

    public PPDirectiveTokenFactory() {