NAttribute, but handles
leading dots and other import-specific special cases.
Qualified names with leading dots are given NQname elements for each
leading dot. Dots separating simple names are not given NQname
elements.
| Modifier and Type | Field and Description |
|---|---|
| private NName | |
| private NQname | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public NQname | |
| public NName | |
| public NQname | |
| public NQname | getPrevious()
Returns the previous component of this qname chain, or |
| private NModuleType | |
| public NQname | |
| public boolean | isBottom()
Returns |
| public boolean | |
| private boolean | |
| public boolean | isTop()
Returns |
| public boolean | isUnqualified()
Returns |
| private void | |
| public NType | Returns: the module represented by the qname up to this point.Overrides org. Resolves and loads the module named by this qname. |
| private NType | |
| public String | thisQname()
Returns the qname down to (and including) this component, ending with this component's name. |
| public String | |
| public String | |
| public void | visit(NNodeVisitor
the object to call with this node.
If the visitor returns v)true, the node also
passes its children to the visitor.Implements abstract org. Visits this node and optionally its children. |
| name | back to summary |
|---|---|
| private NName name | |
| next | back to summary |
|---|---|
| private NQname next | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| NQname | back to summary |
|---|---|
| public NQname(NQname next, NName name) | |
| NQname | back to summary |
|---|---|
| public NQname(NQname next, NName name, int start, int end) | |
| getBottom | back to summary |
|---|---|
| public NQname getBottom() Returns the last/bottom component of the chain. | |
| getName | back to summary |
|---|---|
| public NName getName() Returns this component of the qname chain. | |
| getNext | back to summary |
|---|---|
| public NQname getNext() Returns the next component of the chain, or | |
| getPrevious | back to summary |
|---|---|
| public NQname getPrevious() Returns the previous component of this qname chain, or | |
| getStartModule | back to summary |
|---|---|
| private NModuleType getStartModule(Scope s) throws Exception | |
| getTop | back to summary |
|---|---|
| public NQname getTop() Returns the top (first) component in the chain. | |
| isBottom | back to summary |
|---|---|
| public boolean isBottom() Returns | |
| isDot | back to summary |
|---|---|
| public boolean isDot() Returns | |
| isInitPy | back to summary |
|---|---|
| private boolean isInitPy() | |
| isTop | back to summary |
|---|---|
| public boolean isTop() Returns | |
| isUnqualified | back to summary |
|---|---|
| public boolean isUnqualified() Returns | |
| reportUnresolvedModule | back to summary |
|---|---|
| private void reportUnresolvedModule() | |
| resolve | back to summary |
|---|---|
| public NType resolve(Scope s) throws Exception Overrides org. Resolves and loads the module named by this qname. | |
| resolveInFilesystem | back to summary |
|---|---|
| private NType resolveInFilesystem(Scope s) throws Exception | |
| thisQname | back to summary |
|---|---|
| public String thisQname() Returns the qname down to (and including) this component, ending
with this component's name. For instance, if this | |
| toQname | back to summary |
|---|---|
| public String toQname() Joins all components in this qname chain, beginning with the current component. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| visit | back to summary |
|---|---|
| public void visit(NNodeVisitor v) Implements abstract org. Doc from org. Visits this node and optionally its children.
| |