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

dev.secondsun.retro.util.Token Maven / Gradle / Ivy

Go to download

This is a library that provides common classes and utilities for secondsun's retro projects.

There is a newer version: 1.2.6
Show newest version
package dev.secondsun.retro.util;

public class Token {

    public TokenType type;
    public int startIndex;
    public int endIndex;
    public String message;
    public int intVal;
    private StringBuilder stringBuffer = new StringBuilder();  

    public String getScopes() {
        return null;
    }

    public int getStartIndex() {
        return startIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public void appendChar(char c) {
        this.stringBuffer.append(c);
    }

    public String text() {
        return stringBuffer.toString();
    }

    public TokenType getType() {
        return type;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy