Package gw.internal.gosu.parser
Class GosuIndustrialParkImpl
- java.lang.Object
-
- gw.config.BaseService
-
- gw.internal.gosu.parser.GosuIndustrialParkImpl
-
- All Implemented Interfaces:
IService,IGosuShop,IPluginHost
public class GosuIndustrialParkImpl extends BaseService implements IGosuShop
-
-
Constructor Summary
Constructors Constructor Description GosuIndustrialParkImpl()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
createSymbolTable
public ISymbolTable createSymbolTable()
- Specified by:
createSymbolTablein interfaceIGosuShop
-
createSymbolTable
public ISymbolTable createSymbolTable(boolean bDefineCommonSymbols)
- Specified by:
createSymbolTablein interfaceIGosuShop
-
createTemplateHost
public ITemplateHost createTemplateHost()
- Specified by:
createTemplateHostin interfaceIGosuShop
-
getConstructorInfoFactory
public IConstructorInfoFactory getConstructorInfoFactory()
- Specified by:
getConstructorInfoFactoryin interfaceIGosuShop
-
getAnnotationInfoFactory
public IAnnotationInfoFactory getAnnotationInfoFactory()
- Specified by:
getAnnotationInfoFactoryin interfaceIGosuShop
-
createLengthProperty
public IPropertyInfo createLengthProperty(ITypeInfo typeInfo)
- Specified by:
createLengthPropertyin interfaceIGosuShop
-
getNullExpressionInstance
public INullExpression getNullExpressionInstance()
- Specified by:
getNullExpressionInstancein interfaceIGosuShop
-
getForceThrower
public GosuExceptionUtil.IForceThrower getForceThrower()
- Specified by:
getForceThrowerin interfaceIGosuShop
-
createFunctionType
public IFunctionType createFunctionType(IMethodInfo mi)
- Specified by:
createFunctionTypein interfaceIGosuShop
-
createSymbol
public ISymbol createSymbol(CharSequence name, IType type, Object value)
- Specified by:
createSymbolin interfaceIGosuShop
-
createSymbol
public ISymbol createSymbol(CharSequence name, IType type, IStackProvider stackProvider)
- Specified by:
createSymbolin interfaceIGosuShop
-
createDynamicFunctionSymbol
public ISymbol createDynamicFunctionSymbol(ISymbolTable symbolTable, String strMemberName, IFunctionType functionType, List<ISymbol> params, IExpression value)
- Specified by:
createDynamicFunctionSymbolin interfaceIGosuShop
-
createEnhancementIndex
public IEnhancementIndex createEnhancementIndex(GosuClassTypeLoader loader)
- 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
public ITypeUsesMap createTypeUsesMap(List<String> specialTypeUses)
- 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
public List<? extends IPropertyInfo> getProperties(ITypeInfo beanInfo, IType classSource)
- Specified by:
getPropertiesin interfaceIGosuShop
-
isDescriptorHidden
public boolean isDescriptorHidden(IAttributedFeatureInfo pi)
- Specified by:
isDescriptorHiddenin interfaceIGosuShop
-
getMethods
public List<? extends IMethodInfo> getMethods(ITypeInfo beanInfo, IType ownersIntrinsicType)
- Specified by:
getMethodsin interfaceIGosuShop
-
createStandardParserState
public StandardParserState createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b)
- Specified by:
createStandardParserStatein interfaceIGosuShop
-
createEvaluationException
public EvaluationException createEvaluationException(String msg)
- Specified by:
createEvaluationExceptionin interfaceIGosuShop
-
createModule
public IModule createModule(IExecutionEnvironment execEnv, String strMemberName)
- Specified by:
createModulein interfaceIGosuShop
-
getGosuClassFrom
public IGosuClass getGosuClassFrom(IType fromType)
- Specified by:
getGosuClassFromin interfaceIGosuShop
-
createGlobalModule
public IModule createGlobalModule(IExecutionEnvironment execEnv)
- Specified by:
createGlobalModulein interfaceIGosuShop
-
createClassPath
public IClassPath createClassPath(IModule module, boolean includeAllClasses)
- Specified by:
createClassPathin interfaceIGosuShop
-
getPureGenericType
public IType getPureGenericType(IType type)
- Specified by:
getPureGenericTypein interfaceIGosuShop
-
createClassInfo
public IJavaClassInfo createClassInfo(Class aClass, IModule module)
- Specified by:
createClassInfoin interfaceIGosuShop
-
createMetaType
public IMetaType createMetaType(IType type, boolean literal)
- Specified by:
createMetaTypein interfaceIGosuShop
-
createPropertyDelegate
public IPropertyInfo createPropertyDelegate(IFeatureInfo container, IPropertyInfo prop)
- Specified by:
createPropertyDelegatein interfaceIGosuShop
-
getJavaDocFactory
public IJavaDocFactory getJavaDocFactory()
- Specified by:
getJavaDocFactoryin interfaceIGosuShop
-
getTypeInfoFactory
public ITypeInfoFactory getTypeInfoFactory()
- Specified by:
getTypeInfoFactoryin interfaceIGosuShop
-
getDefaultEntityAccess
public IEntityAccess getDefaultEntityAccess()
- Specified by:
getDefaultEntityAccessin interfaceIGosuShop
-
createSimpleTemplateHost
public ITemplateHost createSimpleTemplateHost()
- Specified by:
createSimpleTemplateHostin interfaceIGosuShop
-
createSourceCodeTokenizer
public ISourceCodeTokenizer createSourceCodeTokenizer(CharSequence code)
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createSourceCodeTokenizer
public ISourceCodeTokenizer createSourceCodeTokenizer(CharSequence code, boolean bTemplate)
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createSourceCodeTokenizer
public ISourceCodeTokenizer createSourceCodeTokenizer(Reader reader)
- Specified by:
createSourceCodeTokenizerin interfaceIGosuShop
-
createTemplateInstructor
public ITokenizerInstructor createTemplateInstructor(ISourceCodeTokenizer tokenizer)
- Specified by:
createTemplateInstructorin interfaceIGosuShop
-
createCommnoSymbolScope
public IScope createCommnoSymbolScope()
- Specified by:
createCommnoSymbolScopein interfaceIGosuShop
-
createIdentifierExpression
public IIdentifierExpression createIdentifierExpression()
- Specified by:
createIdentifierExpressionin interfaceIGosuShop
-
generateTemplate
public void generateTemplate(Reader readerTemplate, Writer writerOut, ISymbolTable symbolTable) throws TemplateParseException
- Specified by:
generateTemplatein interfaceIGosuShop- Throws:
TemplateParseException
-
createTemplateTokenizerInstructor
public ITokenizerInstructor createTemplateTokenizerInstructor(ISourceCodeTokenizer tokenizer)
- Specified by:
createTemplateTokenizerInstructorin interfaceIGosuShop
-
getGosuClassSymbolTable
public ISymbolTable getGosuClassSymbolTable()
- Specified by:
getGosuClassSymbolTablein interfaceIGosuShop
-
getBlockToInterfaceConversionClass
public IGosuClass getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
- Specified by:
getBlockToInterfaceConversionClassin interfaceIGosuShop
-
getIRTypeResolver
public IRTypeResolver getIRTypeResolver()
- Specified by:
getIRTypeResolverin interfaceIGosuShop
-
getIRClassCompiler
public IRClassCompiler getIRClassCompiler()
- Specified by:
getIRClassCompilerin interfaceIGosuShop
-
getLengthAccessor
public IPropertyAccessor getLengthAccessor()
- Specified by:
getLengthAccessorin interfaceIGosuShop
-
createPathEntryFromModuleFile
public GosuPathEntry createPathEntryFromModuleFile(IFile f)
- Specified by:
createPathEntryFromModuleFilein interfaceIGosuShop
-
getDeclaredMethods
public Method[] getDeclaredMethods(Class cls)
- Specified by:
getDeclaredMethodsin interfaceIGosuShop
-
isAnnotationAllowedMultipleTimes
public boolean isAnnotationAllowedMultipleTimes(IFeatureInfo fi, IAnnotationInfo annotationInfo)
- Specified by:
isAnnotationAllowedMultipleTimesin interfaceIGosuShop
-
createReducedDynamicFunctionSymbol
public IReducedDynamicFunctionSymbol createReducedDynamicFunctionSymbol(IDynamicFunctionSymbol symbol)
- Specified by:
createReducedDynamicFunctionSymbolin interfaceIGosuShop
-
updateReloadClassesIndicator
public byte[] updateReloadClassesIndicator(List<String> changedTypes, String strScript)
- Specified by:
updateReloadClassesIndicatorin interfaceIGosuShop
-
generateJavaStub
public String generateJavaStub(IGosuClass gsClass)
- Specified by:
generateJavaStubin interfaceIGosuShop
-
-