anvil.script.statements
Class ImportedModuleStatement
java.lang.Object
|
+--anvil.script.statements.Statement
|
+--anvil.script.statements.ImportedModuleStatement
- All Implemented Interfaces:
- Module, Scope, Type
- public class ImportedModuleStatement
- extends Statement
- implements Module
class ImportedModuleStatement
| Fields inherited from class anvil.script.statements.Statement |
CONTENT_COMPRESS, CONTENT_PACK, CONTENT_PRESERVE, CONTENT_PROCESSING, CONTENT_SILENT, DEFAULT_NAMESPACE, EMPTY, ST_ASSERT, ST_BLOCK, ST_BREAK, ST_CALL, ST_CASE, ST_CATCH, ST_CDATA, ST_CLASS, ST_COMPRESS, ST_CONST, ST_CONTINUE, ST_CUSTOM_TAG, ST_DEFAULT, ST_DO, ST_DOCUMENT, ST_ELSE, ST_ELSEIF, ST_ENDCASE, ST_ENDCLASS, ST_ENDCONST, ST_ENDDEFAULT, ST_ENDEVAL, ST_ENDFOR, ST_ENDFOREACH, ST_ENDFUNCTION, ST_ENDIF, ST_ENDINNER, ST_ENDMODULE, ST_ENDNAMESPACE, ST_ENDOUTER, ST_ENDREPLACE, ST_ENDSWITCH, ST_ENDVAR, ST_ENDWHILE, ST_EVAL, ST_EXIT, ST_FINALLY, ST_FOR, ST_FOREACH, ST_FUNCTION, ST_IF, ST_IMPLICIT_BLOCK, ST_IMPORT, ST_INNER, ST_INTERFACE, ST_INVALID, ST_INVOKE, ST_MODULE, ST_NAMESPACE, ST_NONE, ST_OUTER, ST_PACK, ST_PRESERVE, ST_PRINT, ST_REPLACE, ST_RETURN, ST_SILENT, ST_SWITCH, ST_SYNCHRONIZED, ST_TAG, ST_THROW, ST_TRY, ST_VAR, ST_WHILE, ST_YIELD |
| 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 anvil.script.statements.Statement |
addChild, allowBreak, allowContinue, allowLabel, allowYield, callFinalizer, check, compile, compress, eliminate, getBlockStatement, getCatchStatement, getChildStatement, getClassStatement, getContentState, getDefinitionStatement, getFunctionStatement, getInterfaceStatement, getLabelDepth, getLabeled, getLocation, getModuleStatement, getParentStatement, getScopeStatement, getStaticContent, getSwitch, getTag, getTagId, getTypeRef, hasEnd, hasStaticContent, importExternals, isBlocked, isDeclared, isStaticRegion, lookupAnyDeclaration, name, onCharacters, onProcessingInstruction, onTag, pack, parse, parseLabel, setChildStatement, setLocation, setParentStatement, typeOf |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
protected java.lang.String _name
_script
protected Module _script
_doc
protected Doc _doc
ImportedModuleStatement
public ImportedModuleStatement(java.lang.String name,
Module script)
ImportedModuleStatement
public ImportedModuleStatement(java.lang.String name,
Module script,
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
getTypeRef
public int getTypeRef(ConstantPool pool)
- Specified by:
getTypeRef in interface Type
getDeclarations
public java.util.Iterator getDeclarations()
- Specified by:
getDeclarations in interface Scope
lookupDeclaration
public Type lookupDeclaration(java.lang.String name)
- Specified by:
lookupDeclaration in interface Scope
getURL
public java.net.URL getURL()
- Specified by:
getURL in interface Module
getAddress
public Address getAddress()
- Specified by:
getAddress in interface Module
getPathinfo
public java.lang.String getPathinfo()
- Specified by:
getPathinfo in interface Module
getDescriptor
public java.lang.String getDescriptor()
- Specified by:
getDescriptor in interface Module
getDependencies
public java.util.Iterator getDependencies()
- Specified by:
getDependencies in interface Module
getDependency
public Dependency getDependency(Address address)
- Specified by:
getDependency in interface Module