|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xtext.GrammarResource.LinkingTrigger
public static class GrammarResource.LinkingTrigger
Triggers the ecore inference as soon as someone wants to access the contents
of a GrammarResource
.
Constructor Summary | |
---|---|
GrammarResource.LinkingTrigger()
|
Method Summary | |
---|---|
void |
discardDerivedState(DerivedStateAwareResource resource)
is called when the resource is updated. |
void |
installDerivedState(DerivedStateAwareResource resource,
boolean preLinkingPhase)
callback to do modifications when and before getContents is called the first time on a resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrammarResource.LinkingTrigger()
Method Detail |
---|
public void installDerivedState(DerivedStateAwareResource resource, boolean preLinkingPhase)
IDerivedStateComputer
installDerivedState
in interface IDerivedStateComputer
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.public void discardDerivedState(DerivedStateAwareResource resource)
IDerivedStateComputer
#installDerivedState(DerivedStateSupportingResource)
discardDerivedState
in interface IDerivedStateComputer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |