com.voytechs.jnetstream.npl
Class MutableArrayReferenceNode
java.lang.Object
com.voytechs.jnetstream.npl.Node
com.voytechs.jnetstream.npl.ArrayReferenceNode
com.voytechs.jnetstream.npl.MutableArrayReferenceNode
- All Implemented Interfaces:
- Visitable
public class MutableArrayReferenceNode
- extends ArrayReferenceNode
Allows modification to value of the node at run time.
|
Method Summary |
protected Context |
getContext()
Extracts the current context. |
static void |
main(java.lang.String[] args)
Test function for MutableArrayReferenceNode |
void |
setSymTable(SymTable sym)
|
boolean |
visit(Visitor visitor,
java.lang.Object user1,
java.lang.Object user2)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MutableArrayReferenceNode
public MutableArrayReferenceNode(java.lang.String name,
ArrayDimensionNode dimensions)
- Parameters:
-
- Throws:
visit
public boolean visit(Visitor visitor,
java.lang.Object user1,
java.lang.Object user2)
throws NodeException
- Throws:
NodeException
setSymTable
public void setSymTable(SymTable sym)
getContext
protected Context getContext()
- Extracts the current context.
- Specified by:
getContext in class ArrayReferenceNode
main
public static void main(java.lang.String[] args)
- Test function for MutableArrayReferenceNode
- Parameters:
args - command line arguments