| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private boolean | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | accept(NodeVisitor<T>
the visitor iVisitor)Implements abstract org. Accept for the visitor pattern. |
| public HashNode | |
| public List | |
| public Node[] | |
| public NodeType | |
| public List | |
| public boolean | Returns: true is only rest kwargsDetect whether only rest kwargs make up this hash. |
| public boolean | |
| public boolean | Returns: true if it contains at least one rest kwarg.Detect presence of a rest kwarg (**kw). |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public String | toStringExtraInfo()
Overrides org. Not all interesting info in the AST is from Node data. |
| hasOnlySymbolKeys | back to summary |
|---|---|
| private boolean hasOnlySymbolKeys | |
| hasRestKwarg | back to summary |
|---|---|
| private boolean hasRestKwarg | |
| isLiteral | back to summary |
|---|---|
| private boolean isLiteral | |
| pairs | back to summary |
|---|---|
| private final List<KeyValuePair<Node, Node>> pairs | |
| HashNode | back to summary |
|---|---|
| public HashNode(int line) | |
| HashNode | back to summary |
|---|---|
| public HashNode(int line, KeyValuePair<Node, Node> pair) | |
| accept | back to summary |
|---|---|
| public <T> T accept(NodeVisitor<T> iVisitor) Implements abstract org. Accept for the visitor pattern.
| |
| add | back to summary |
|---|---|
| public HashNode add(KeyValuePair<Node, Node> pair) | |
| childNodes | back to summary |
|---|---|
| public List Implements abstract org. | |
| getKeys | back to summary |
|---|---|
| public Node[] getKeys() | |
| getNodeType | back to summary |
|---|---|
| public NodeType getNodeType() Implements abstract org.
| |
| getPairs | back to summary |
|---|---|
| public List | |
| hasOnlyRestKwargs | back to summary |
|---|---|
| public boolean hasOnlyRestKwargs() Detect whether only rest kwargs make up this hash. Common case is **a which is HashNode{[(null, a)]}. Less common is **a, **b which is HashNode{[(null, a), (null, b)].}
| |
| hasOnlySymbolKeys | back to summary |
|---|---|
| public boolean hasOnlySymbolKeys() | |
| hasRestKwarg | back to summary |
|---|---|
| public boolean hasRestKwarg() Detect presence of a rest kwarg (**kw).
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| isLiteral | back to summary |
|---|---|
| public boolean isLiteral() | |
| isMaybeKwargs | back to summary |
|---|---|
| public boolean isMaybeKwargs()
Deprecated
| |
| removeAll | back to summary |
|---|---|
| public boolean removeAll(final Collection<KeyValuePair<Node, Node>> pairsToRemove) | |
| setIsLiteral | back to summary |
|---|---|
| public void setIsLiteral() | |
| toStringExtraInfo | back to summary |
|---|---|
| public String toStringExtraInfo() Overrides org. Doc from org. Not all interesting info in the AST is from Node data. This method will print out anything else of note (e.g. FixnumNode's long value). | |