com.voytechs.jnetstream.npl
Class ArrayReferenceNode
java.lang.Object
com.voytechs.jnetstream.npl.Node
com.voytechs.jnetstream.npl.ArrayReferenceNode
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- MutableArrayReferenceNode
public abstract class ArrayReferenceNode
- extends Node
- implements Visitable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.voytechs.jnetstream.npl.Visitable |
visit |
dimensions
protected ArrayDimensionNode dimensions
name
protected java.lang.String name
ArrayReferenceNode
public ArrayReferenceNode(java.lang.String name,
ArrayDimensionNode dimensions)
- Parameters:
-
- Throws:
getContext
protected abstract Context getContext()
getPrimitive
public Primitive getPrimitive(ArrayDimensionNode dim)
throws NodeException
- Throws:
NodeException
getName
public java.lang.String getName()
- Get the name of the variable.
optimize
public Node optimize()
- Specified by:
optimize in class Node
canOptimize
public boolean canOptimize()
- Specified by:
canOptimize in class Node
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
main
public static void main(java.lang.String[] args)
- Test function for ArrayReferenceNode
- Parameters:
args - command line arguments