net.sourceforge.plantuml.regexdiagram.ReToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml.regexdiagram;
public class ReToken {
private final ReTokenType type;
private final String data;
public ReToken(ReTokenType type, String data) {
this.type = type;
this.data = data;
}
@Override
public String toString() {
return type.toString() + "[" + data + "]";
}
public final ReTokenType getType() {
return type;
}
public final String getData() {
return data;
}
}