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

cn.nukkit.nbt.snbt.InvalidToken Maven / Gradle / Ivy

/* Generated by: JavaCC 21 Parser Generator. InvalidToken.java */
package cn.nukkit.nbt.snbt;


/**
 * Token subclass to represent lexically invalid input
 */
public class InvalidToken extends Token {

    public InvalidToken(SNBTLexer tokenSource, int beginOffset, int endOffset) {
        super(TokenType.INVALID, tokenSource, beginOffset, endOffset);
    }

    public String getNormalizedText() {
        return "Lexically Invalid Input:" + getImage();
    }

}






© 2015 - 2025 Weber Informatics LLC | Privacy Policy