public class GosuShop extends Object
| Constructor and Description |
|---|
GosuShop() |
public static ISymbolTable createSymbolTable()
public static ISymbolTable createSymbolTable(boolean bDefineCommonSymbols)
public static ITemplateHost createTemplateHost()
public static IPropertyInfo createLengthProperty(ITypeInfo typeInfo)
public static IFunctionType createFunctionType(IMethodInfo mi)
public static ITypeInfoFactory getTypeInfoFactory()
public static IConstructorInfoFactory getConstructorInfoFactory()
public static IAnnotationInfoFactory getAnnotationInfoFactory()
public static IJavaDocFactory getJavaDocFactory()
public static ISymbol createSymbol(CharSequence name, IType type, Object value)
public static ISymbol createSymbol(CharSequence name, IType type, IStackProvider stackProvider)
public static IClassPath createClassPath(IModule module, boolean includeAllClasses)
public static IEntityAccess getDefaultEntityAccess()
public static ITemplateHost createSimpleTemplateHost()
public static ISourceCodeTokenizer createSourceCodeTokenizer(CharSequence code)
public static ISourceCodeTokenizer createSourceCodeTokenizer(CharSequence code, boolean bTemplate)
public static ISourceCodeTokenizer createSourceCodeTokenizer(Reader reader)
public static ITokenizerInstructor createTemplateInstructor(ISourceCodeTokenizer tokenizer)
public static IScope createCommonSymbolScope()
public static IIdentifierExpression createIdentifierExpression()
public static void generateTemplate(Reader readerTemplate, Writer writerOut, ISymbolTable threadLocalSymbolTable) throws TemplateParseException
TemplateParseExceptionpublic static ITokenizerInstructor createTemplateTokenizerInstructor(ISourceCodeTokenizer tokenizer)
public static ISymbolTable getGosuClassSymbolTable()
public static ISymbol createDynamicFunctionSymbol(ISymbolTable symbolTable, String strMemberName, IFunctionType functionType, List<ISymbol> params, IExpression expression)
public static IEnhancementIndex createEnhancementIndex(GosuClassTypeLoader loader)
public static IGosuClass createClass(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap)
public static IGosuProgram createProgram(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable)
public static IGosuProgram createProgramForEval(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable)
public static IGosuEnhancement createEnhancement(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap)
public static ITemplateType createTemplate(String strNamespace, String strRelativeName, GosuClassTypeLoader loader, ISourceFileHandle sourceFile, ITypeUsesMap typeUsesMap, ISymbolTable symTable)
public static IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files)
public static IFileSystemGosuClassRepository createFileSystemGosuClassRepository(IModule module, IDirectory[] files, String[] extensions)
public static ITypeUsesMap createTypeUsesMap(List<String> specialTypeUses)
public static IFullParserState createStandardParserState(IParsedElement rootParsedElement, String scriptSrc, boolean b)
public static RuntimeException createEvaluationException(String msg)
public static IPropertyInfo createPropertyDelegate(IFeatureInfo container, IPropertyInfo prop)
public static IModule createModule(IExecutionEnvironment execEnv, String strMemberName)
public static IModule createGlobalModule(IExecutionEnvironment execEnv)
public static INullExpression getNullExpressionInstance()
public static IGosuClass getBlockToInterfaceConversionClass(IType typeToCoerceTo, IType enclosingType)
public static IRTypeResolver getIRTypeResolver()
public static IRClassCompiler getIRClassCompiler()
public static IPropertyAccessor getLengthAccessor()
public static GosuPathEntry createPathEntryFromModuleFile(IFile f)
public static Map<IType,IType> getPublishedTypeMap(IJavaClassInfo classInfo)
public static IReducedDynamicFunctionSymbol createReducedDynamicFunctionSymbol(IDynamicFunctionSymbol symbol)
public static void clearThreadLocal(ThreadLocal tl)
public static boolean isGosuFile(String fileName)
public static IGosuc makeGosucCompiler(String gosucProjectFile, ICustomParser custParser)
public static Object getAnnotationFieldValueAsArray(IAnnotationInfo annotationInfo, String field)
public static IJavaClassInfo createClassInfo(Class aClass, IModule module)
public static byte[] updateReloadClassesIndicator(List<String> changedTypes, String strScript)
public static void print(Object ret)
public static IGosuClass getGosuClassFrom(IType fromType)
Copyright © 2017. All rights reserved.