public final class VariableAccessorField extends Object
Constructor and Description |
---|
VariableAccessorField(String name)
Construct a new VariableAccessorField for the given named variable.
|
Modifier and Type | Method and Description |
---|---|
VariableAccessor |
getVariableAccessorForRead()
Retrieve the variable accessor for read.
|
VariableAccessor |
getVariableAccessorForWrite(VariableTableManager tableMgr)
Retrieve the variable access for write.
|
public VariableAccessorField(String name)
name
- the name of the variablepublic VariableAccessor getVariableAccessorForRead()
public VariableAccessor getVariableAccessorForWrite(VariableTableManager tableMgr)
tableMgr
- the VariableTableManager for which to allocate an
accessor, if it has not already been allocated.Copyright © 2001-2015 JRuby. All Rights Reserved.