Package com._1c.g5.v8.dt.lcore.resource
Class CompoundDerivedStateComputerParticipant
- java.lang.Object
-
- com._1c.g5.v8.dt.lcore.resource.CompoundDerivedStateComputerParticipant
-
- All Implemented Interfaces:
IDerivedStateComputerParticipant
public class CompoundDerivedStateComputerParticipant extends Object implements IDerivedStateComputerParticipant
IDerivedStateComputerParticipant
implementation which compounds all registeredderived state computer participants
in language guice module.Participant executes install derived state in order, in wich participants where registered. Discard derived state is executed in opposite order.
-
-
Constructor Summary
Constructors Constructor Description CompoundDerivedStateComputerParticipant(com.google.inject.Injector injector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
discardDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource)
Discards derived statevoid
installDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase)
Installs derived state
-
-
-
Method Detail
-
installDerivedState
public void installDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource, boolean preLinkingPhase)
Description copied from interface:IDerivedStateComputerParticipant
Installs derived state- Specified by:
installDerivedState
in interfaceIDerivedStateComputerParticipant
- Parameters:
resource
- the resource to install derived state onpreLinkingPhase
- whether the call is done in a pre-linking phase. During this phase clients may not do linking which relies on indexed information, because the index might not be fully computed yet.
-
discardDerivedState
public void discardDerivedState(org.eclipse.xtext.resource.DerivedStateAwareResource resource)
Description copied from interface:IDerivedStateComputerParticipant
Discards derived state- Specified by:
discardDerivedState
in interfaceIDerivedStateComputerParticipant
- Parameters:
resource
- the resource to discard derived state on
-
-