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

at.$ Maven / Gradle / Ivy

The newest version!
package at;

import org.bitbucket.gkutiel.at.Cmd;
import org.bitbucket.gkutiel.at.Context;

public class $ extends Cmd {
	@Override public String eval(final Context ctx) {
		if ("".equals(args)) return ctx.val();
		final Context c = ctx.get(args);
		if (children.isEmpty()) {
			if (c == null) return "";
			return c.val();
		}
		return evalChildren(c);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy