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