
com.github.bloodshura.ignitium.venus.value.FunctionRefValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of venusscript Show documentation
Show all versions of venusscript Show documentation
A dynamic, easy, highly customizable scripting language.
The newest version!
package com.github.bloodshura.ignitium.venus.value;
import com.github.bloodshura.ignitium.util.XApi;
import com.github.bloodshura.ignitium.venus.compiler.KeywordDefinitions;
import com.github.bloodshura.ignitium.venus.type.PrimitiveType;
public class FunctionRefValue extends Value {
private final String value;
public FunctionRefValue(String value) {
super(PrimitiveType.FUNCTION_REFERENCE);
XApi.requireNonNull(value, "value");
this.value = value;
}
@Override
public FunctionRefValue clone() {
return new FunctionRefValue(value());
}
@Override
public String toString() {
return KeywordDefinitions.FUNCTION_REFERENCE + value();
}
@Override
public String value() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy