Package com.prineside.luaj.ast
Class Exp
java.lang.Object
com.prineside.luaj.ast.SyntaxElement
com.prineside.luaj.ast.Exp
- Direct Known Subclasses:
Exp.AnonFuncDef
,Exp.BinopExp
,Exp.Constant
,Exp.PrimaryExp
,Exp.UnopExp
,Exp.VarargsExp
,TableConstructor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
Fields inherited from class com.prineside.luaj.ast.SyntaxElement
beginColumn, beginLine, endColumn, endLine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
static Exp
anonymousfunction
(FuncBody funcbody) static Exp
static Exp
static Exp.FieldExp
fieldop
(Exp.PrimaryExp lhs, String name) foo.barstatic Exp.FuncCall
functionop
(Exp.PrimaryExp lhs, FuncArgs args) foo(2,3)static Exp.IndexExp
indexop
(Exp.PrimaryExp lhs, Exp exp) foo[exp]boolean
boolean
boolean
isvarexp()
static Exp.MethodCall
methodop
(Exp.PrimaryExp lhs, String name, FuncArgs args) foo:bar(4,5)static Exp.NameExp
nameprefix
(String name) foostatic Exp
numberconstant
(String token) static Exp.ParensExp
parensprefix
(Exp exp) ( foo.bar )static Exp
static Exp
static Exp
varargs()
-
Constructor Details
-
Exp
public Exp()
-
-
Method Details
-
accept
-
constant
-
numberconstant
-
varargs
-
tableconstructor
-
unaryexp
-
binaryexp
-
anonymousfunction
-
nameprefix
foo -
parensprefix
( foo.bar ) -
indexop
foo[exp] -
fieldop
foo.bar -
functionop
foo(2,3) -
methodop
foo:bar(4,5) -
isvarexp
public boolean isvarexp() -
isfunccall
public boolean isfunccall() -
isvarargexp
public boolean isvarargexp()
-