public class AstAttributeValueArray extends AbstractAstNode implements AstAttributeValue
AstNode.AbstractVisitor<C,R>, AstNode.Visitor<C,R>| Modifier and Type | Field and Description |
|---|---|
List<AstAttributeValue> |
elements
Elements in this array.
|
| Constructor and Description |
|---|
AstAttributeValueArray(Region region,
List<? extends AstAttributeValue> elements)
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.
|
boolean |
equals(Object obj) |
Region |
getRegion()
Returns the region of this node.
|
int |
hashCode() |
public final List<AstAttributeValue> elements
public AstAttributeValueArray(Region region, List<? extends AstAttributeValue> elements)
region - the region of this node on the enclosing script, or null if unknownelements - the elements in this arrayIllegalArgumentException - if some parameters were nullpublic Region getRegion()
AstNodepublic <C,R> R accept(C context,
AstNode.Visitor<C,R> visitor)
AstNodeCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.