All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.semanticweb.owlapi.rdf.turtle.parser.Token Maven / Gradle / Ivy

/* Generated By:JavaCC: Do not edit this line. Token.java Version 5.0 */
/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
package org.semanticweb.owlapi.rdf.turtle.parser;

@SuppressWarnings("all")
class Token implements java.io.Serializable {

    private static final long serialVersionUID = 1L;
    int kind;
    int beginLine;
    int beginColumn;
    int endLine;
    int endColumn;
    String image;
    Token next;
    Token specialToken;

    static Object getValue() {
        return null;
    }

    Token() {}

    Token(int kind) {
        this(kind, null);
    }

    Token(int kind, String image) {
        this.kind = kind;
        this.image = image;
    }

    @Override
    public String toString() {
        return image;
    }

    static Token newToken(int ofKind, String image) {
        switch (ofKind) {
            default:
                return new Token(ofKind, image);
        }
    }

    static Token newToken(int ofKind) {
        return newToken(ofKind, null);
    }
}
/* JavaCC - OriginalChecksum=a7246c01ae87e6e69ce71e71c8b5f455 (do not edit this line) */




© 2015 - 2024 Weber Informatics LLC | Privacy Policy