JaCIL Framework API

JaCIL.Compiler.Context Namespace

Provides the interfaces that give context to the compiler translators in the Translator namespace.

Namespace hierarchy

Classes

Class Description
BaseContext Straightforward implementation of the core context which implementations may leverage.
BaseInstructionContext Straightforward implementation of a member context which implementations may leverage.
BaseMemberContext Straightforward implementation of a member context which implementations may leverage.
FieldContext Translation context for a field within a type.
MethodContext Translation context for a field within a type.

Interfaces

Interface Description
IAssemblyContext Translation context for assembly level meta-data.
IAssemblyContextFactory Defines the interface for building IAssemblyContext instances for the compiler.
IContext The base contract that all contexts must provide.
IContextProfile Represents a profile for the context factories to be used by the compiler.
IFieldContext Translation context for a field within a type.
IFieldContextFactory Creates instances of IFieldContext for the compiler.
IInstructionAnalyzer Generates a proper IInstructionStream from the given Cecil method definition. Although not a context class like the other contexts in this namespace, implementations of this interface are charged with doing some analysis and creating an IInstructionStream can be manipulated by the proper translators. Analyzers are also responsible for producing the ILocalVariableTable used by the translators to find the right Java locals.
IInstructionAnalyzerFactory Creates instances of IInstructionContext for the compiler.
IInstructionContext Translation context for a single instruction within a type.
IInstructionContextFactory Creates instances of IInstructionContext for the compiler.
IMemberContext General context for translating a member of a type.
IMethodContext Translation context for a method within a type.
IMethodContextFactory Creates instances of IMethodContext for the compiler.
IModuleContext Translation context for a module within an assembly.
IModuleContextFactory Creates instances of IModuleContext for the compiler.
ITypeContext Translation context for a type within a module.
ITypeContextFactory Creates instances of ITypeContext for the compiler.