public class AstReferenceType extends AbstractAstNode implements AstType
AstNode.AbstractVisitor<C,R>, AstNode.Visitor<C,R>
Modifier and Type | Field and Description |
---|---|
AstSimpleName |
name
The name of the target model.
|
Constructor and Description |
---|
AstReferenceType(Region region,
AstSimpleName name)
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() |
String |
toString() |
public final AstSimpleName name
public AstReferenceType(Region region, AstSimpleName name)
region
- the region of this node on the enclosing script, or null
if unknownname
- the name of the target modelIllegalArgumentException
- if some parameters were null
public Region getRegion()
AstNode
public <C,R> R accept(C context, AstNode.Visitor<C,R> visitor)
AstNode
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.