Package gw.internal.gosu.parser
Class GosuIndustrialParkImpl
java.lang.Object
gw.config.BaseService
gw.internal.gosu.parser.GosuIndustrialParkImpl
- All Implemented Interfaces:
IService,IGosuShop,IPluginHost
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IAnnotationInfoFactoryprivate IConstructorInfoFactoryprivate IJavaDocFactoryprivate ITypeInfoFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateClass(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) createClassInfo(Class aClass, IModule module) createClassPath(IModule module, boolean includeAllClasses) createDynamicFunctionSymbol(ISymbolTable symbolTable, String strMemberName, IFunctionType functionType, List<ISymbol> params, IExpression value) createEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) createFileSystemGosuClassRepository(IModule module, IDirectory[] files) createFileSystemGosuClassRepository(IModule module, IDirectory[] files, String[] extensions) createGlobalModule(IExecutionEnvironment execEnv) createLengthProperty(ITypeInfo typeInfo) createMetaType(IType type, boolean literal) createModule(IExecutionEnvironment execEnv, String strMemberName) createProgram(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) createProgramForEval(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) createPropertyDelegate(IFeatureInfo container, IPropertyInfo prop) createSourceCodeTokenizer(Reader reader) createSourceCodeTokenizer(CharSequence code, boolean bTemplate) createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b) createSymbol(CharSequence name, IType type, IStackProvider stackProvider) createSymbol(CharSequence name, IType type, Object value) createSymbolTable(boolean bDefineCommonSymbols) createTemplate(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) createTemplateInstructor(ISourceCodeTokenizer tokenizer) createTypeUsesMap(List<String> specialTypeUses) generateJavaStub(IGosuClass gsClass) voidgenerateTemplate(Reader readerTemplate, Writer writerOut, ISymbolTable symbolTable) getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType) Method[]getDeclaredMethods(Class cls) getGosuClassFrom(IType fromType) List<? extends IMethodInfo>getMethods(ITypeInfo beanInfo, IType ownersIntrinsicType) List<? extends IPropertyInfo>getProperties(ITypeInfo beanInfo, IType classSource) getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parser, IScriptabilityModifier scriptabilityConstraint) getPureGenericType(IType type) booleanisAnnotationAllowedMultipleTimes(IFeatureInfo fi, IAnnotationInfo annotationInfo) booleanvoidbyte[]updateReloadClassesIndicator(List<String> changedTypes, String strScript) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gw.plugin.IPluginHost
getInterface
-
Field Details
-
_annotationInfoFactory
-
_constructorInfoFactory
-
_javaDocFactory
-
_typeInfoFactory
-
-
Constructor Details
-
GosuIndustrialParkImpl
public GosuIndustrialParkImpl()
-
-
Method Details
-
createSymbolTable
- Specified by:
createSymbolTablein interfaceIGosuShop
-
createSymbolTable
- Specified by:
createSymbolTablein interfaceIGosuShop
-
createTemplateHost
- Specified by:
createTemplateHostin interfaceIGosuShop
-
getConstructorInfoFactory
- Specified by:
getConstructorInfoFactoryin interfaceIGosuShop
-
getAnnotationInfoFactory
- Specified by:
getAnnotationInfoFactoryin interfaceIGosuShop
-
createLengthProperty
- Specified by:
createLengthPropertyin interfaceIGosuShop
-
getNullExpressionInstance
- Specified by:
getNullExpressionInstancein interfaceIGosuShop
-
getForceThrower
- Specified by:
getForceThrowerin interfaceIGosuShop
-
createFunctionType
- Specified by:
createFunctionTypein interfaceIGosuShop
-
createSymbol
- Specified by:
createSymbolin interfaceIGosuShop
-
createSymbol
- Specified by:
createSymbolin interfaceIGosuShop
-
createDynamicFunctionSymbol
public ISymbol createDynamicFunctionSymbol(ISymbolTable symbolTable, String strMemberName, IFunctionType functionType, List<ISymbol> params, IExpression value) - Specified by:
createDynamicFunctionSymbolin interfaceIGosuShop
-
createEnhancementIndex
- Specified by:
createEnhancementIndexin interfaceIGosuShop
-
createClass
public IGosuClass createClass(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) - Specified by:
createClassin interfaceIGosuShop
-
createProgram
public IGosuProgram createProgram(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createProgramin interfaceIGosuShop
-
createProgramForEval
public IGosuProgram createProgramForEval(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createProgramForEvalin interfaceIGosuShop
-
createEnhancement
public IGosuEnhancement createEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) - Specified by:
createEnhancementin interfaceIGosuShop
-
createTemplate
public ITemplateType createTemplate(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createTemplatein interfaceIGosuShop
-
createFileSystemGosuClassRepository
public IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files) - Specified by:
createFileSystemGosuClassRepositoryin interfaceIGosuShop
-
createFileSystemGosuClassRepository
public IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files, String[] extensions) - Specified by:
createFileSystemGosuClassRepositoryin interfaceIGosuShop
-
createTypeUsesMap
- Specified by:
createTypeUsesMapin interfaceIGosuShop
-
getPropertyInfo
public IPropertyInfo getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parser, IScriptabilityModifier scriptabilityConstraint) throws ParseException - Specified by:
getPropertyInfoin interfaceIGosuShop- Throws:
ParseException
-
getProperties
- Specified by:
getPropertiesin interfaceIGosuShop
-
isDescriptorHidden
- Specified by:
isDescriptorHiddenin interfaceIGosuShop
-
getMethods
- Specified by:
getMethodsin interfaceIGosuShop
-
createStandardParserState
public StandardParserState createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b) - Specified by:
createStandardParserStatein interfaceIGosuShop
-
createEvaluationException
- Specified by:
createEvaluationExceptionin interfaceIGosuShop
-
createModule
- Specified by:
createModulein interfaceIGosuShop
-
getGosuClassFrom
- Specified by:
getGosuClassFromin interfaceIGosuShop
-
createGlobalModule
- Specified by:
createGlobalModulein interfaceIGosuShop
-
createClassPath
- Specified by:
createClassPathin interfaceIGosuShop
-
getPureGenericType
- Specified by:
getPureGenericTypein interfaceIGosuShop
-
createClassInfo
- Specified by:
createClassInfoin interfaceIGosuShop
-
createMetaType
- Specified by:
createMetaTypein interfaceIGosuShop
-
createPropertyDelegate
- Specified by:
createPropertyDelegatein interfaceIGosuShop
-
getJavaDocFactory
- Specified by:
getJavaDocFactoryin interfaceIGosuShop
-
getTypeInfoFactory
- Specified by:
getTypeInfoFactoryin interfaceIGosuShop
-
getDefaultEntityAccess
- Specified by:
getDefaultEntityAccessin interfaceIGosuShop
-
createSimpleTemplateHost
- Specified by:
createSimpleTemplateHostin interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createTemplateInstructor
- Specified by:
createTemplateInstructorin interfaceIGosuShop
-
createCommnoSymbolScope
- Specified by:
createCommnoSymbolScopein interfaceIGosuShop
-
createIdentifierExpression
- Specified by:
createIdentifierExpressionin interfaceIGosuShop
-
generateTemplate
public void generateTemplate(Reader readerTemplate, Writer writerOut, ISymbolTable symbolTable) throws TemplateParseException - Specified by:
generateTemplatein interfaceIGosuShop- Throws:
TemplateParseException
-
createTemplateTokenizerInstructor
- Specified by:
createTemplateTokenizerInstructorin interfaceIGosuShop
-
getGosuClassSymbolTable
- Specified by:
getGosuClassSymbolTablein interfaceIGosuShop
-
getBlockToInterfaceConversionClass
- Specified by:
getBlockToInterfaceConversionClassin interfaceIGosuShop
-
getIRTypeResolver
- Specified by:
getIRTypeResolverin interfaceIGosuShop
-
getIRClassCompiler
- Specified by:
getIRClassCompilerin interfaceIGosuShop
-
getLengthAccessor
- Specified by:
getLengthAccessorin interfaceIGosuShop
-
createPathEntryFromModuleFile
- Specified by:
createPathEntryFromModuleFilein interfaceIGosuShop
-
getDeclaredMethods
- Specified by:
getDeclaredMethodsin interfaceIGosuShop
-
isAnnotationAllowedMultipleTimes
- Specified by:
isAnnotationAllowedMultipleTimesin interfaceIGosuShop
-
createReducedDynamicFunctionSymbol
public IReducedDynamicFunctionSymbol createReducedDynamicFunctionSymbol(IDynamicFunctionSymbol symbol) - Specified by:
createReducedDynamicFunctionSymbolin interfaceIGosuShop
-
updateReloadClassesIndicator
- Specified by:
updateReloadClassesIndicatorin interfaceIGosuShop
-
print
-
toString
-
generateJavaStub
- Specified by:
generateJavaStubin interfaceIGosuShop
-