final IASScope scope = ast.getScope();
assert scope instanceof ASFileScope : "Expect ASFileScope as the top-level scope, but found " + scope.getClass();
IFileSpecification rootSource = getRootFileSpecification();
final ASFileScopeRequestResult result =
new ASFileScopeRequestResult(getDefinitionPromises(), getDefinitionPriority(),
Collections.<ICompilerProblem>emptyList(), (ASFileScope)scope, rootSource);
stopProfile(Operation.GET_FILESCOPE);
return result;
}