org.nutz.el.El Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nutz Show documentation
Show all versions of nutz Show documentation
Nutz, which is a collections of lightweight frameworks, each of them can be used independently
package org.nutz.el;
import java.lang.reflect.Method;
import java.util.Map;
import java.util.Queue;
import org.nutz.el.arithmetic.RPN;
import org.nutz.el.arithmetic.ShuntingYard;
import org.nutz.el.opt.RunMethod;
import org.nutz.el.opt.custom.CustomMake;
import org.nutz.lang.Lang;
import org.nutz.lang.segment.CharSegment;
import org.nutz.lang.util.Context;
public class El {
private RPN rc = null;
private CharSequence elstr = "";
public El(){}
/**
* 预编译
*/
public El(CharSequence cs){
elstr = cs;
ShuntingYard sy = new ShuntingYard();
Queue