| xtc.typical.Name
Name | abstract public class Name extends Variant (Code) | | The base class of all NameSpace names.
author: Anh Le version: $Revision: 1.6 $ |
Inner Class :public static enum Tag | |
Inner Class :public static class SimpleName extends Name> | |
Inner Class :public static class QualifiedName extends Name>> | |
Constructor Summary | |
protected | Name() Create a new name. |
Method Summary | |
public boolean | isQualifiedName() Tests if this name is qualified. | public boolean | isSimpleName() Tests if this name is simple. | abstract public String | mangle(String ns) Convert the name into a name suitable for symbol table access. | abstract public Tag | tag() |
Name | protected Name()(Code) | | Create a new name.
|
isQualifiedName | public boolean isQualifiedName()(Code) | | Tests if this name is qualified.
true if simple, false otherwise. |
isSimpleName | public boolean isSimpleName()(Code) | | Tests if this name is simple.
true if simple, false otherwise. |
mangle | abstract public String mangle(String ns)(Code) | | Convert the name into a name suitable for symbol table access.
Parameters: ns - The namespace. |
tag | abstract public Tag tag()(Code) | | Get the tag of this class
The tag |
|
|