SpoofaxModule

public class SpoofaxModule extends MetaborgModule

Guice module that specifies which implementations to use for services and factories.

Constructors

SpoofaxModule

public SpoofaxModule()

SpoofaxModule

public SpoofaxModule(ClassLoader resourceClassLoader)

Methods

bindAction

protected void bindAction()

bindAnalysis

protected void bindAnalysis()

Overrides MetaborgModule.bindAnalysis() to provide Spoofax-specific bindings with Spoofax interfaces, and to provide analyzers.

bindBuilder

protected void bindBuilder()

Overrides MetaborgModule.bindBuilder() to provide Spoofax-specific bindings with generics filled in as IStrategoTerm.

bindCategorizer

protected void bindCategorizer()

bindCompletion

protected void bindCompletion()

bindContextFactories

protected void bindContextFactories(MapBinder<String, IContextFactory> binder)

bindLanguage

protected void bindLanguage()

bindMenu

protected void bindMenu()

bindOutline

protected void bindOutline()

bindParsers

protected void bindParsers(MapBinder<String, IParser<ISpoofaxInputUnit, ISpoofaxParseUnit>> parserBinder, MapBinder<String, ISpoofaxParser> spoofaxParserBinder)

bindPrimitive

protected static void bindPrimitive(Multibinder<AbstractPrimitive> binder, AbstractPrimitive primitive)

bindPrimitive

protected static void bindPrimitive(Multibinder<AbstractPrimitive> binder, Class<? extends AbstractPrimitive> primitive)

bindPrimitiveLibrary

protected static void bindPrimitiveLibrary(Multibinder<IOperatorRegistry> binder, Class<? extends IOperatorRegistry> primitiveLibrary)

bindProcessor

protected void bindProcessor()

Overrides MetaborgModule.bindProcessor() to provide Spoofax-specific bindings with generics filled in as IStrategoTerm.

bindProcessorRunner

protected void bindProcessorRunner()

Overrides MetaborgModule.bindProcessorRunner() to provide Spoofax-specific bindings with generics filled in as IStrategoTerm.

bindProjectConfig

protected void bindProjectConfig()

bindStyler

protected void bindStyler()

bindSyntax

protected void bindSyntax()

bindTracing

protected void bindTracing()

bindTransformer

protected void bindTransformer()

bindUnit

protected void bindUnit()

configure

protected void configure()