public class UnionTypeExpressionNode extends AbstractRamlNode implements TypeExpressionNode, SimpleTypeNode<String>
| Constructor and Description |
|---|
UnionTypeExpressionNode() |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy() |
ResolvedType |
generateDefinition()
Generates the definition that results of evaluating this expression
|
Position |
getEndPosition() |
String |
getLiteralValue() |
Position |
getStartPosition() |
NodeType |
getType() |
String |
getTypeExpressionText() |
String |
getValue() |
List<TypeExpressionNode> |
of() |
setEndPosition, setSource, setStartPositionaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getContextNode, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setContextNode, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getContextNode, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setContextNode, setParent, setSource@Nonnull public Position getStartPosition()
getStartPosition in interface NodegetStartPosition in class AbstractRamlNode@Nonnull public Position getEndPosition()
getEndPosition in interface NodegetEndPosition in class AbstractRamlNodepublic List<TypeExpressionNode> of()
@Nullable public ResolvedType generateDefinition()
TypeExpressionNodegenerateDefinition in interface TypeExpressionNodepublic String getTypeExpressionText()
getTypeExpressionText in interface TypeExpressionNodepublic String getValue()
getValue in interface SimpleTypeNode<String>public String getLiteralValue()
getLiteralValue in interface SimpleTypeNode<String>Copyright © 2020. All rights reserved.