public void EnterFakeContext(Definition definition) { Require.Assigned(definition); Require.Assigned(currentDefinition); Require.Unassigned(savedDefinition); savedDefinition = currentDefinition; currentDefinition = definition; }
public void EnterDefinitionContext(Definition definition) { Require.True(contexts.Count == 0); Require.Unassigned(currentDefinition); currentDefinition = definition; Context context = CreateContext(); context.Setup(null, false); contexts.Push(context); }
public void SetImplicitFields(int slot, TypeReference type) { Require.Assigned(type); Require.Unassigned(implicitSlot); implicitSlot = new ImplicitField(); implicitSlot.slot = slot; implicitSlot.type = type; AssignSlot(slot); ReadSlot(slot); }
public void SetContextParameters(Parameters parameters) { Require.Assigned(parameters); Require.Unassigned(contextParameters); contextParameters = parameters; }