javax0.jamal.yaml.Ref Maven / Gradle / Ivy
package javax0.jamal.yaml;
import javax0.jamal.api.Input;
import javax0.jamal.api.Macro;
import javax0.jamal.api.Processor;
public class Ref implements Macro {
@Override
public String evaluate(Input in, Processor processor) {
return "!ref " + in;
}
@Override
public String getId() {
return "yaml:ref";
}
}