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 IAnnotationInfoFactory
private IConstructorInfoFactory
private IJavaDocFactory
private 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) void
generateTemplate
(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) boolean
isAnnotationAllowedMultipleTimes
(IFeatureInfo fi, IAnnotationInfo annotationInfo) boolean
void
byte[]
updateReloadClassesIndicator
(List<String> changedTypes, String strScript) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gw.plugin.IPluginHost
getInterface
-
Field Details
-
_annotationInfoFactory
-
_constructorInfoFactory
-
_javaDocFactory
-
_typeInfoFactory
-
-
Constructor Details
-
GosuIndustrialParkImpl
public GosuIndustrialParkImpl()
-
-
Method Details
-
createSymbolTable
- Specified by:
createSymbolTable
in interfaceIGosuShop
-
createSymbolTable
- Specified by:
createSymbolTable
in interfaceIGosuShop
-
createTemplateHost
- Specified by:
createTemplateHost
in interfaceIGosuShop
-
getConstructorInfoFactory
- Specified by:
getConstructorInfoFactory
in interfaceIGosuShop
-
getAnnotationInfoFactory
- Specified by:
getAnnotationInfoFactory
in interfaceIGosuShop
-
createLengthProperty
- Specified by:
createLengthProperty
in interfaceIGosuShop
-
getNullExpressionInstance
- Specified by:
getNullExpressionInstance
in interfaceIGosuShop
-
getForceThrower
- Specified by:
getForceThrower
in interfaceIGosuShop
-
createFunctionType
- Specified by:
createFunctionType
in interfaceIGosuShop
-
createSymbol
- Specified by:
createSymbol
in interfaceIGosuShop
-
createSymbol
- Specified by:
createSymbol
in interfaceIGosuShop
-
createDynamicFunctionSymbol
public ISymbol createDynamicFunctionSymbol(ISymbolTable symbolTable, String strMemberName, IFunctionType functionType, List<ISymbol> params, IExpression value) - Specified by:
createDynamicFunctionSymbol
in interfaceIGosuShop
-
createEnhancementIndex
- Specified by:
createEnhancementIndex
in interfaceIGosuShop
-
createClass
public IGosuClass createClass(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) - Specified by:
createClass
in interfaceIGosuShop
-
createProgram
public IGosuProgram createProgram(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createProgram
in interfaceIGosuShop
-
createProgramForEval
public IGosuProgram createProgramForEval(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createProgramForEval
in interfaceIGosuShop
-
createEnhancement
public IGosuEnhancement createEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap) - Specified by:
createEnhancement
in interfaceIGosuShop
-
createTemplate
public ITemplateType createTemplate(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable) - Specified by:
createTemplate
in interfaceIGosuShop
-
createFileSystemGosuClassRepository
public IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files) - Specified by:
createFileSystemGosuClassRepository
in interfaceIGosuShop
-
createFileSystemGosuClassRepository
public IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files, String[] extensions) - Specified by:
createFileSystemGosuClassRepository
in interfaceIGosuShop
-
createTypeUsesMap
- Specified by:
createTypeUsesMap
in interfaceIGosuShop
-
getPropertyInfo
public IPropertyInfo getPropertyInfo(IType classBean, String strProperty, IFeatureFilter filter, IParserPart parser, IScriptabilityModifier scriptabilityConstraint) throws ParseException - Specified by:
getPropertyInfo
in interfaceIGosuShop
- Throws:
ParseException
-
getProperties
- Specified by:
getProperties
in interfaceIGosuShop
-
isDescriptorHidden
- Specified by:
isDescriptorHidden
in interfaceIGosuShop
-
getMethods
- Specified by:
getMethods
in interfaceIGosuShop
-
createStandardParserState
public StandardParserState createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b) - Specified by:
createStandardParserState
in interfaceIGosuShop
-
createEvaluationException
- Specified by:
createEvaluationException
in interfaceIGosuShop
-
createModule
- Specified by:
createModule
in interfaceIGosuShop
-
getGosuClassFrom
- Specified by:
getGosuClassFrom
in interfaceIGosuShop
-
createGlobalModule
- Specified by:
createGlobalModule
in interfaceIGosuShop
-
createClassPath
- Specified by:
createClassPath
in interfaceIGosuShop
-
getPureGenericType
- Specified by:
getPureGenericType
in interfaceIGosuShop
-
createClassInfo
- Specified by:
createClassInfo
in interfaceIGosuShop
-
createMetaType
- Specified by:
createMetaType
in interfaceIGosuShop
-
createPropertyDelegate
- Specified by:
createPropertyDelegate
in interfaceIGosuShop
-
getJavaDocFactory
- Specified by:
getJavaDocFactory
in interfaceIGosuShop
-
getTypeInfoFactory
- Specified by:
getTypeInfoFactory
in interfaceIGosuShop
-
getDefaultEntityAccess
- Specified by:
getDefaultEntityAccess
in interfaceIGosuShop
-
createSimpleTemplateHost
- Specified by:
createSimpleTemplateHost
in interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizer
in interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizer
in interfaceIGosuShop
-
createSourceCodeTokenizer
- Specified by:
createSourceCodeTokenizer
in interfaceIGosuShop
-
createTemplateInstructor
- Specified by:
createTemplateInstructor
in interfaceIGosuShop
-
createCommnoSymbolScope
- Specified by:
createCommnoSymbolScope
in interfaceIGosuShop
-
createIdentifierExpression
- Specified by:
createIdentifierExpression
in interfaceIGosuShop
-
generateTemplate
public void generateTemplate(Reader readerTemplate, Writer writerOut, ISymbolTable symbolTable) throws TemplateParseException - Specified by:
generateTemplate
in interfaceIGosuShop
- Throws:
TemplateParseException
-
createTemplateTokenizerInstructor
- Specified by:
createTemplateTokenizerInstructor
in interfaceIGosuShop
-
getGosuClassSymbolTable
- Specified by:
getGosuClassSymbolTable
in interfaceIGosuShop
-
getBlockToInterfaceConversionClass
- Specified by:
getBlockToInterfaceConversionClass
in interfaceIGosuShop
-
getIRTypeResolver
- Specified by:
getIRTypeResolver
in interfaceIGosuShop
-
getIRClassCompiler
- Specified by:
getIRClassCompiler
in interfaceIGosuShop
-
getLengthAccessor
- Specified by:
getLengthAccessor
in interfaceIGosuShop
-
createPathEntryFromModuleFile
- Specified by:
createPathEntryFromModuleFile
in interfaceIGosuShop
-
getDeclaredMethods
- Specified by:
getDeclaredMethods
in interfaceIGosuShop
-
isAnnotationAllowedMultipleTimes
- Specified by:
isAnnotationAllowedMultipleTimes
in interfaceIGosuShop
-
createReducedDynamicFunctionSymbol
public IReducedDynamicFunctionSymbol createReducedDynamicFunctionSymbol(IDynamicFunctionSymbol symbol) - Specified by:
createReducedDynamicFunctionSymbol
in interfaceIGosuShop
-
updateReloadClassesIndicator
- Specified by:
updateReloadClassesIndicator
in interfaceIGosuShop
-
print
-
toString
-
generateJavaStub
- Specified by:
generateJavaStub
in interfaceIGosuShop
-