public class AstAttributeValueMap extends AbstractAstNode implements AstAttributeValue
| Modifier and Type | Class and Description |
|---|---|
static class |
AstAttributeValueMap.Entry
An entry of
AstAttributeValueMap. |
AstNode.AbstractVisitor<C,R>, AstNode.Visitor<C,R>| Modifier and Type | Field and Description |
|---|---|
List<AstAttributeValueMap.Entry> |
entries
Entries in this map.
|
| Constructor and Description |
|---|
AstAttributeValueMap(Region region,
List<? extends AstAttributeValueMap.Entry> entries)
Creates and returns a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
<C,R> R |
accept(C context,
AstNode.Visitor<C,R> visitor)
Accepts and calls back the visitor.
|
Map<Object,AstAttributeValue> |
asMap()
Returns entries as map object.
|
boolean |
equals(Object obj) |
Region |
getRegion()
Returns the region of this node.
|
int |
hashCode() |
String |
toString() |
public final List<AstAttributeValueMap.Entry> entries
public AstAttributeValueMap(Region region, List<? extends AstAttributeValueMap.Entry> entries)
region - the region of this node on the enclosing script, or null if unknownentries - the entries in this mapIllegalArgumentException - if some parameters were nullpublic Region getRegion()
AstNodepublic Map<Object,AstAttributeValue> asMap()
public <C,R> R accept(C context,
AstNode.Visitor<C,R> visitor)
AstNodeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.