Contents

setContext(_:)

Sets contextual information to improve or inform the analysis.

Declaration

final func setContext(_ newContext: AnalysisContext) async throws

Parameters

  • newContext:

    A context object. This object will replace the current object.

Discussion

Other analyzer instances may use the same context object.

See Also

Managing contexts