Package io.github.qishr.cascara.common.lang.plain
Class PlainMapEntryNode
java.lang.Object
io.github.qishr.cascara.common.lang.plain.PlainNode
io.github.qishr.cascara.common.lang.plain.PlainMapEntryNode
All Implemented Interfaces:
MapEntryAstNode<PlainNode, PlainNode>
public final class PlainMapEntryNode
extends PlainNode
Constructor Summary
| Constructor | Description |
|---|---|
| PlainMapEntryNode(PlainNode key, PlainNode value) | |
| PlainMapEntryNode(String key, PlainNode value) | |
| PlainMapEntryNode(String key, String value) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public PlainNode | getKey() | |
| public PlainNode | getValue() | |
| public PlainMapEntryNode | setRaw(PlainNode value) | |
| public List<PlainNode> | getChildren() | |
| public List<CommentAstNode> | getComments() | |
| public PlainNode | setValue(PlainNode value) |
Methods inherited from PlainNode
getEndColumn, getEndLine, getStartColumn, getToken, getStartLine
Method Details
getKey
public PlainNode getKey()
Specified By:
getValue
public PlainNode getValue()
Specified By:
setRaw
public PlainMapEntryNode setRaw(PlainNode value)
getChildren
public List<PlainNode> getChildren()
Specified By:
getComments
public List<CommentAstNode> getComments()
setValue
public PlainNode setValue(PlainNode value)