
public abstract class JNode extends Object implements HasSourceInfo, Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
JNode(SourceInfo info) |
| Modifier and Type | Method and Description |
|---|---|
SourceInfo |
getSourceInfo()
Return the source info associated with this object.
|
void |
setSourceInfo(SourceInfo info) |
String |
toSource() |
String |
toString() |
abstract void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
protected JNode(SourceInfo info)
public SourceInfo getSourceInfo()
HasSourceInfogetSourceInfo in interface HasSourceInfopublic void setSourceInfo(SourceInfo info)
public abstract void traverse(JVisitor visitor, Context ctx)
visitor - the visitor that should traverse this nodectx - the context of an existing traversalpublic final String toSource()
Copyright © 2018. All rights reserved.