public abstract class AbstractReferenceNode extends AbstractRamlNode implements ReferenceNode
| Constructor and Description |
|---|
AbstractReferenceNode() |
AbstractReferenceNode(AbstractReferenceNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Node> |
getContextNodes()
If the contextNode is set, returns a list of two context nodes
using the relative node as a fallback context
|
Map<String,Node> |
getParameters() |
Node |
getParametersNode() |
Node |
getRefNode() |
NodeType |
getType() |
abstract Node |
resolveReference() |
void |
setContextNode(Node contextNode) |
getEndPosition, getStartPosition, setEndPosition, setSource, setStartPositionaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRefNameaddChild, addChild, annotate, annotations, copy, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParent, setSourcepublic AbstractReferenceNode()
public AbstractReferenceNode(AbstractReferenceNode node)
@Nullable public final Node getRefNode()
getRefNode in interface ReferenceNodeprotected List<Node> getContextNodes()
public Node getParametersNode()
public void setContextNode(Node contextNode)
Copyright © 2017. All rights reserved.