panda.el.parse.Converter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.el.parse;
import java.io.Reader;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import panda.el.ELException;
import panda.el.Parse;
import panda.el.obj.ELObj;
import panda.el.opt.LArrayOpt;
import panda.el.opt.LBracketOpt;
import panda.el.opt.RArrayOpt;
import panda.el.opt.RBracketOpt;
import panda.el.opt.arithmetic.DivOpt;
import panda.el.opt.arithmetic.ModOpt;
import panda.el.opt.arithmetic.MulOpt;
import panda.el.opt.arithmetic.NegateOpt;
import panda.el.opt.arithmetic.PlusOpt;
import panda.el.opt.arithmetic.SubOpt;
import panda.el.opt.object.CommaOpt;
import panda.el.opt.object.InvokeMethodOpt;
import panda.el.opt.object.MakeArrayOpt;
import panda.el.opt.object.MethodOpt;
import panda.io.stream.CharSequenceReader;
/**
* 转换器,也就是用来将字符串转换成队列. 这个类的名字不知道取什么好...
*/
public class Converter {
private final List parses = new ArrayList();
// 表达式字符队列
private CharQueue exp;
// 表达式项
private LinkedList