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 classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic classstatic class - 
Field Summary
Fields inherited from class com.prineside.luaj.ast.SyntaxElement
beginColumn, beginLine, endColumn, endLine - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract voidstatic Expanonymousfunction(FuncBody funcbody) static Expstatic Expstatic Exp.FieldExpfieldop(Exp.PrimaryExp lhs, String name) foo.barstatic Exp.FuncCallfunctionop(Exp.PrimaryExp lhs, FuncArgs args) foo(2,3)static Exp.IndexExpindexop(Exp.PrimaryExp lhs, Exp exp) foo[exp]booleanbooleanbooleanisvarexp()static Exp.MethodCallmethodop(Exp.PrimaryExp lhs, String name, FuncArgs args) foo:bar(4,5)static Exp.NameExpnameprefix(String name) foostatic Expnumberconstant(String token) static Exp.ParensExpparensprefix(Exp exp) ( foo.bar )static Expstatic Expstatic Expvarargs() 
- 
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() 
 -