Class AwaitedTypeCalculator

java.lang.Object
org.sonar.python.semantic.v2.types.AwaitedTypeCalculator

public class AwaitedTypeCalculator extends Object
Calculates the result type of awaiting a coroutine or awaitable type. When awaiting a Coroutine[T, ...], the result type is T (the first type parameter).
  • Constructor Details

    • AwaitedTypeCalculator

      public AwaitedTypeCalculator(TypeTable typeTable)
  • Method Details