public class Variable extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
NameScope |
definingScope
The lua scope in which this variable is defined.
|
boolean |
hasassignments
true if there are assignments made to this variable
|
LuaValue |
initialValue
When hasassignments == false, and the initial value is a constant, this is the initial value
|
boolean |
isupvalue
true if this variable is an upvalue
|
String |
name
The name as it appears in lua source code
|
public final String name
public final NameScope definingScope
public boolean isupvalue
public boolean hasassignments
public LuaValue initialValue
public Variable(String name)
Copyright © 2020. All rights reserved.