|
|||||||||
| Home >> All >> com >> voytechs >> jnetstream >> [ npl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.voytechs.jnetstream.npl
Class ArrayReferenceNode

java.lang.Objectcom.voytechs.jnetstream.npl.Node
com.voytechs.jnetstream.npl.ArrayReferenceNode
- All Implemented Interfaces:
- Visitable
- Direct Known Subclasses:
- MutableArrayReferenceNode
| Field Summary | |
private static boolean |
debug
|
protected ArrayDimensionNode |
dimensions
|
protected java.lang.String |
name
|
| Fields inherited from class com.voytechs.jnetstream.npl.Node |
token |
| Constructor Summary | |
ArrayReferenceNode(java.lang.String name,
ArrayDimensionNode dimensions)
|
|
| Method Summary | |
boolean |
canOptimize()
|
protected abstract Context |
getContext()
|
java.lang.String |
getName()
Get the name of the variable. |
com.voytechs.jnetstream.primitive.Primitive |
getPrimitive(ArrayDimensionNode dim)
|
static void |
main(java.lang.String[] args)
Test function for ArrayReferenceNode |
Node |
optimize()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class com.voytechs.jnetstream.npl.Node |
getToken, setToken |
| 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 |
| Field Detail |
debug
private static final boolean debug
- See Also:
- Constant Field Values
dimensions
protected ArrayDimensionNode dimensions
name
protected java.lang.String name
| Constructor Detail |
ArrayReferenceNode
public ArrayReferenceNode(java.lang.String name, ArrayDimensionNode dimensions)
| Method Detail |
getContext
protected abstract Context getContext()
getPrimitive
public com.voytechs.jnetstream.primitive.Primitive getPrimitive(ArrayDimensionNode dim) throws NodeException
getName
public java.lang.String getName()
- Get the name of the variable.
optimize
public Node optimize()
canOptimize
public boolean canOptimize()
- Specified by:
canOptimizein classNode
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
main
public static void main(java.lang.String[] args)
- Test function for ArrayReferenceNode
|
|||||||||
| Home >> All >> com >> voytechs >> jnetstream >> [ npl overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC