| 程序包 | 说明 |
|---|---|
| org.luaj.vm2.ast | |
| org.luaj.vm2.parser |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Exp.AnonFuncDef |
static class |
Exp.BinopExp |
static class |
Exp.Constant |
static class |
Exp.FieldExp |
static class |
Exp.FuncCall |
static class |
Exp.IndexExp |
static class |
Exp.MethodCall |
static class |
Exp.NameExp |
static class |
Exp.ParensExp |
static class |
Exp.PrimaryExp |
static class |
Exp.UnopExp |
static class |
Exp.VarargsExp |
static class |
Exp.VarExp |
class |
TableConstructor |
| 限定符和类型 | 字段和说明 |
|---|---|
Exp |
Stat.WhileDo.exp |
Exp |
Stat.RepeatUntil.exp |
Exp |
Exp.ParensExp.exp |
Exp |
Exp.IndexExp.exp |
Exp |
Stat.IfThenElse.ifexp |
Exp |
TableField.index |
Exp |
Stat.NumericFor.initial |
Exp |
Exp.BinopExp.lhs |
Exp |
Stat.NumericFor.limit |
Exp |
TableField.rhs |
Exp |
Exp.UnopExp.rhs |
Exp |
Exp.BinopExp.rhs |
Exp |
Stat.NumericFor.step |
| 限定符和类型 | 字段和说明 |
|---|---|
List<Exp> |
Stat.IfThenElse.elseifexps |
List<Exp> |
Stat.Assign.exps |
List<Exp> |
Stat.GenericFor.exps |
List<Exp> |
FuncArgs.exps |
List<Exp> |
Stat.Return.values |
List<Exp> |
Stat.LocalAssign.values |
| 限定符和类型 | 方法和说明 |
|---|---|
static Exp |
Exp.anonymousfunction(FuncBody funcbody) |
static Exp |
Exp.binaryexp(Exp lhs,
int op,
Exp rhs) |
static Exp |
Exp.constant(LuaValue value) |
static Exp |
Exp.numberconstant(String token) |
static Exp |
Exp.tableconstructor(TableConstructor tc) |
static Exp |
Exp.unaryexp(int op,
Exp rhs) |
static Exp |
Exp.varargs() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Exp |
Exp.binaryexp(Exp lhs,
int op,
Exp rhs) |
static Stat |
Stat.fornumeric(String name,
Exp initial,
Exp limit,
Exp step,
Block block) |
static Stat |
Stat.ifthenelse(Exp ifexp,
Block ifblock,
List<Exp> elseifexps,
List<Block> elseifblocks,
Block elseblock) |
static Exp.IndexExp |
Exp.indexop(Exp.PrimaryExp lhs,
Exp exp)
foo[exp]
|
static TableField |
TableField.keyedField(Exp index,
Exp rhs) |
static TableField |
TableField.listField(Exp rhs) |
static TableField |
TableField.namedField(String name,
Exp rhs) |
static Exp.ParensExp |
Exp.parensprefix(Exp exp)
( foo.bar )
|
static Stat |
Stat.repeatuntil(Block block,
Exp exp) |
static Exp |
Exp.unaryexp(int op,
Exp rhs) |
static Stat |
Stat.whiledo(Exp exp,
Block block) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Stat |
Stat.assignment(List<Exp.VarExp> vars,
List<Exp> exps) |
static FuncArgs |
FuncArgs.explist(List<Exp> explist)
exp1,exp2...
|
static Stat |
Stat.forgeneric(List<Name> names,
List<Exp> exps,
Block block) |
static Stat |
Stat.ifthenelse(Exp ifexp,
Block ifblock,
List<Exp> elseifexps,
List<Block> elseifblocks,
Block elseblock) |
static Stat |
Stat.localassignment(List<Name> names,
List<Exp> values) |
static Stat |
Stat.returnstat(List<Exp> exps) |
void |
Visitor.visitExps(List<Exp> exps) |
| 构造器和说明 |
|---|
BinopExp(Exp lhs,
int op,
Exp rhs) |
IfThenElse(Exp ifexp,
Block ifblock,
List<Exp> elseifexps,
List<Block> elseifblocks,
Block elseblock) |
IndexExp(Exp.PrimaryExp lhs,
Exp exp) |
NumericFor(String name,
Exp initial,
Exp limit,
Exp step,
Block block) |
ParensExp(Exp exp) |
RepeatUntil(Block block,
Exp exp) |
TableField(Exp index,
String name,
Exp rhs) |
UnopExp(int op,
Exp rhs) |
WhileDo(Exp exp,
Block block) |
| 构造器和说明 |
|---|
Assign(List<Exp.VarExp> vars,
List<Exp> exps) |
FuncArgs(List<Exp> exps) |
GenericFor(List<Name> names,
List<Exp> exps,
Block block) |
IfThenElse(Exp ifexp,
Block ifblock,
List<Exp> elseifexps,
List<Block> elseifblocks,
Block elseblock) |
LocalAssign(List<Name> names,
List<Exp> values) |
Return(List<Exp> values) |
| 限定符和类型 | 方法和说明 |
|---|---|
Exp |
LuaParser.Exp() |
Exp |
LuaParser.SimpleExp() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Exp> |
LuaParser.ExpList() |
Copyright © 2020. All rights reserved.