anvil.script.compiler
Class CompiledInterfaceType

java.lang.Object
  |
  +--anvil.script.compiler.Compiled
        |
        +--anvil.script.compiler.CompiledScope
              |
              +--anvil.script.compiler.CompiledInterfaceType
All Implemented Interfaces:
InterfaceType, Scope, Type

public class CompiledInterfaceType
extends CompiledScope
implements InterfaceType

class CompiledInterfaceType


Field Summary
protected  InterfaceRef[] _bases
           
 
Fields inherited from class anvil.script.compiler.CompiledScope
_class, _descriptor, _types
 
Fields inherited from class anvil.script.compiler.Compiled
_document, _name, _parent, _parents, _private, _qname
 
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
 
Constructor Summary
CompiledInterfaceType(java.lang.ClassLoader classloader, Scope parent, java.lang.Class cls, java.lang.String name, Doc document, boolean privat)
           
 
Method Summary
 InterfaceRef[] getBases()
           
 int getType()
           
 Type lookupDeclaration(java.lang.String name)
           
 Type lookupInheritedDeclaration(java.lang.String name)
           
 
Methods inherited from class anvil.script.compiler.CompiledScope
buildQualifiedName, declare, declare, getDeclarations, getDescriptor, getModule, getTypeRef, initializeMembers, onClass, onConstantVariable, onConstructor, onFunction, onInterface, onInterfaceMethod, onMemberVariable, onMethod, onNamespace, onScript, onStaticVariable
 
Methods inherited from class anvil.script.compiler.Compiled
findClass, findInterface, findMethod, findNamespace, getDocument, getfield, getName, getParent, getParents, getQualifiedName, getstatic, getstatic, isPrivate, putfield, putstatic, putstatic, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface anvil.script.InterfaceType
getDescriptor
 
Methods inherited from interface anvil.script.Scope
getDeclarations
 
Methods inherited from interface anvil.script.Type
getDocument, getName, getParent, getParents, getQualifiedName, getTypeRef, isPrivate
 

Field Detail

_bases

protected InterfaceRef[] _bases
Constructor Detail

CompiledInterfaceType

public CompiledInterfaceType(java.lang.ClassLoader classloader,
                             Scope parent,
                             java.lang.Class cls,
                             java.lang.String name,
                             Doc document,
                             boolean privat)
Method Detail

getType

public int getType()
Specified by:
getType in interface Type
Specified by:
getType in class Compiled

getBases

public InterfaceRef[] getBases()
Specified by:
getBases in interface InterfaceType

lookupDeclaration

public Type lookupDeclaration(java.lang.String name)
Specified by:
lookupDeclaration in interface Scope
Overrides:
lookupDeclaration in class CompiledScope

lookupInheritedDeclaration

public Type lookupInheritedDeclaration(java.lang.String name)
Specified by:
lookupInheritedDeclaration in interface InterfaceType