org.eclipse.xtext.xbase.typesystem.internal.RootResolvedTypes Java Examples

The following examples show how to use org.eclipse.xtext.xbase.typesystem.internal.RootResolvedTypes. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RecordingRecomputingReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 5 votes vote down vote up
@Override
public RootResolvedTypes createResolvedTypes(CancelIndicator monitor) {
	ExpectationTestingTypeComputer recorder = (ExpectationTestingTypeComputer) getTypeComputer();
	AbstractExpectationTest test = recorder.getTest();
	test.clearData();
	return super.createResolvedTypes(monitor);
}
 
Example #2
Source File: TimedReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public RootResolvedTypes createResolvedTypes(CancelIndicator monitor) {
	return new TimedRootResolvedTypes(this, new TypeResolutionTimes(), monitor);
}
 
Example #3
Source File: ValidatingReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public RootResolvedTypes createResolvedTypes(CancelIndicator monitor) {
	return new ValidatingRootResolvedTypes(this, monitor);
}
 
Example #4
Source File: InvariantCheckingEagerReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected RootResolvedTypes createResolvedTypes(CancelIndicator monitor) {
	return new ValidatingRootResolvedTypes(this, monitor);
}
 
Example #5
Source File: RecomputingReentrantTypeResolver.java    From xtext-extras with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public RootResolvedTypes createResolvedTypes(final CancelIndicator monitor) {
  return new RecordingRootResolvedTypes(this, CancelIndicator.NullImpl);
}