Class ModuleTypeResolutionContext
java.lang.Object
org.openzen.zenscript.codemodel.context.ModuleTypeResolutionContext
- All Implemented Interfaces:
TypeResolutionContext
-
Constructor Summary
ConstructorsConstructorDescriptionModuleTypeResolutionContext(GlobalTypeRegistry registry, AnnotationDefinition[] annotations, ZSPackage rootPackage, CompilingPackage rootCompiling, Map<String, ISymbol> globals) -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotation(String name) getType(CodePosition position, List<GenericName> name)
-
Constructor Details
-
ModuleTypeResolutionContext
public ModuleTypeResolutionContext(GlobalTypeRegistry registry, AnnotationDefinition[] annotations, ZSPackage rootPackage, CompilingPackage rootCompiling, Map<String, ISymbol> globals)
-
-
Method Details
-
getRootPackage
- Specified by:
getRootPackagein interfaceTypeResolutionContext
-
getTypeRegistry
- Specified by:
getTypeRegistryin interfaceTypeResolutionContext
-
getAnnotation
- Specified by:
getAnnotationin interfaceTypeResolutionContext
-
getThisType
- Specified by:
getThisTypein interfaceTypeResolutionContext
-