anvil.script.compiler
Class NamespaceBase
java.lang.Object
|
+--anvil.script.compiler.NamespaceBase
- All Implemented Interfaces:
- NamespaceType, Type
- public class NamespaceBase
- extends java.lang.Object
- implements NamespaceType
class NamespaceBase
| Fields inherited from interface anvil.script.Type |
CLASS, CONSTANT_VARIABLE, CONSTRUCTOR, FUNCTION, FUNCTION_PARAMETER, GLOBAL_NAMESPACE, IMPORT, INTERFACE, INTERFACE_METHOD, LOCAL_VARIABLE, MEMBER_VARIABLE, METHOD, MODULE, NAMESPACE, SCOPE0, STATIC_VARIABLE, SYSTEM_NAMESPACE, TYPE_NAMES |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceBase
public NamespaceBase(Module parent,
java.lang.String name,
Namespace namespace,
Doc doc)
NamespaceBase
public NamespaceBase(Module parent,
java.lang.String name,
int type,
Namespace namespace,
Doc doc)
getName
public java.lang.String getName()
- Specified by:
getName in interface Type
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate in interface Type
getQualifiedName
public java.lang.String getQualifiedName()
- Specified by:
getQualifiedName in interface Type
getType
public int getType()
- Specified by:
getType in interface Type
getParent
public Scope getParent()
- Specified by:
getParent in interface Type
getParents
public Scope[] getParents()
- Specified by:
getParents in interface Type
getDocument
public Doc getDocument()
- Specified by:
getDocument in interface Type
getNamespace
public Namespace getNamespace()
- Specified by:
getNamespace in interface NamespaceType
getTypeRef
public int getTypeRef(ConstantPool pool)
- Specified by:
getTypeRef in interface Type