SpoofaxContext

public class SpoofaxContext implements Serializable

Fields

BETTER_STAMPERS

public static final boolean BETTER_STAMPERS

base

public transient FileObject base

baseDir

public final File baseDir

baseURI

public final URI baseURI

depDir

public final File depDir

languageSpec

public transient ILanguageSpec languageSpec

Constructors

SpoofaxContext

public SpoofaxContext(FileObject baseDir, FileObject depDir)

Methods

basePath

public File basePath(String relative)

depPath

public File depPath(String relative)

init

public static void init(Injector newInjector)

init

public void init()

languageIdentifierService

public ILanguageIdentifierService languageIdentifierService()

languagePathService

public ILanguagePathService languagePathService()

languageService

public ILanguageService languageService()

newResourceTracker

public ResourceAgentTracker newResourceTracker(String... excludePatterns)

parse

public IStrategoTerm parse(File file)

resourceService

public IResourceService resourceService()

sourceTextService

public ISourceTextService sourceTextService()

syntaxService

public ISpoofaxSyntaxService syntaxService()

termFactory

public ITermFactory termFactory()

termFactoryService

public ITermFactoryService termFactoryService()

toFile

public File toFile(FileObject fileObject)

toFileReplicate

public File toFileReplicate(FileObject fileObject)

unitService

public ISpoofaxUnitService unitService()