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

com.kotcrab.vis.usl.Token Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package com.kotcrab.vis.usl;

/** Single token of USL file */
public class Token {
	public String usl;
	public int i;

	public Type type;
	public String content;

	public Token (String usl, int i, Type type) {
		this.usl = usl;
		this.i = i;
		this.type = type;
	}

	public Token (String usl, int i, Type type, String content) {
		this.usl = usl;
		this.i = i;
		this.type = type;
		this.content = content;
	}

	public enum Type {
		INVALID,
		LCURL, RCURL, // { }
		STYLE_BLOCK, STYLE_BLOCK_EXTENDS,
		STYLE_BLOCK_OVERRIDE,
		GLOBAL_STYLE, PACKAGE,
		IDENTIFIER, IDENTIFIER_CONTENT,
		INHERITS, INHERITS_NAME,
		META_STYLE
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy