| Modifier and Type | Field and Description |
|---|---|
| public List | |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static void | |
| protected void | bindNames(Scope s)
Overrides org. Called by resolver to bind names into the passed scope. |
| public boolean | bindsName()
Overrides org. Returns |
| private void | importName(Scope s, NAlias a, NModuleType
the module that is actually bound to the imported name.
for mt)import x.y.z as foo, it is z, a sub-module
of x.y. For import x.y.z it is x.Import a module's alias (if present) or top-level name into the current scope. |
| public NType | resolve(Scope s)
Overrides org. Node should set the resolved type in its |
| 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. |
| aliases | back to summary |
|---|---|
| public List<NAlias> aliases | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| NImport | back to summary |
|---|---|
| public NImport(List<NAlias> aliases) | |
| NImport | back to summary |
|---|---|
| public NImport(List<NAlias> aliases, int start, int end) | |
| addReferences | back to summary |
|---|---|
| pack-priv static void addReferences(Scope s, NQname qname, boolean putTopInScope) | |
| bindAliases | back to summary |
|---|---|
| pack-priv static void bindAliases(Scope s, List<NAlias> aliases) throws Exception | |
| bindNames | back to summary |
|---|---|
| protected void bindNames(Scope s) throws Exception Overrides org. Doc from org. Called by resolver to bind names into the passed scope.
| |
| bindsName | back to summary |
|---|---|
| public boolean bindsName() Overrides org. Doc from org. Returns
| |
| importName | back to summary |
|---|---|
| private void importName(Scope s, NAlias a, NModuleType mt) throws Exception Import a module's alias (if present) or top-level name into the current scope. Creates references to the other names in the alias.
| |
| resolve | back to summary |
|---|---|
| public NType resolve(Scope s) throws Exception Overrides org. Doc from org. Node should set the resolved type in its
| |
| 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.
| |