public class AstQualifiedName extends AbstractAstNode implements AstName
AstNode.AbstractVisitor<C,R>, AstNode.Visitor<C,R>| Modifier and Type | Field and Description | 
|---|---|
AstName | 
qualifier
The qualifier of this name. 
 | 
AstSimpleName | 
simpleName
The simple name of this name in tail. 
 | 
| Constructor and Description | 
|---|
AstQualifiedName(Region region,
                AstName qualifier,
                AstSimpleName simpleName)
Creates 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)  | 
AstName | 
getQualifier()
Returns the qualifier of this name. 
 | 
Region | 
getRegion()
Returns the region of this node. 
 | 
AstSimpleName | 
getSimpleName()
Returns the simple name of this name. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
public final AstName qualifier
public final AstSimpleName simpleName
public AstQualifiedName(Region region, AstName qualifier, AstSimpleName simpleName)
region - the region of this node, or null if unknownqualifier - the qualifier name of thissimpleName - the simple name of thisIllegalArgumentException - if some parameters were nullpublic Region getRegion()
AstNodepublic AstName getQualifier()
AstNamegetQualifier in interface AstNamenull if this represents a simple namepublic AstSimpleName getSimpleName()
AstNamegetSimpleName in interface AstNamepublic <C,R> R accept(C context,
                      AstNode.Visitor<C,R> visitor)
AstNodeCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.