Package com.googlecode.aviator.parser
Class VariableMeta
java.lang.Object
com.googlecode.aviator.parser.VariableMeta
- All Implemented Interfaces:
Serializable
Variable metadata, collected in compile-time.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private boolean
private String
private int
private static final long
private CompileTypes
-
Constructor Summary
ConstructorsConstructorDescriptionVariableMeta
(CompileTypes type, String name, boolean isInit, int firstIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getName()
int
getRefs()
getType()
int
boolean
isInit()
void
setFirstIndex
(int firstIndex) void
setInit
(boolean isInit) void
void
setRefs
(int times) void
setType
(CompileTypes type) toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
type
-
name
-
isInit
private boolean isInit -
refs
private int refs -
firstIndex
private int firstIndex
-
-
Constructor Details
-
VariableMeta
-
-
Method Details
-
getFirstIndex
public int getFirstIndex() -
setFirstIndex
public void setFirstIndex(int firstIndex) -
incRefsAndGet
public int incRefsAndGet() -
add
-
getRefs
public int getRefs() -
setRefs
public void setRefs(int times) -
getType
-
setType
-
getName
-
setName
-
isInit
public boolean isInit() -
setInit
public void setInit(boolean isInit) -
toString
-