Member predicate Callable::Callable::getAStatementBody

Gets a statement body of this callable, if any.

Unlike getStatementBody(), this predicate may return multiple bodies, in the case where the same callable is compiled multiple times. For example, if we compile both A.cs

namespaces N {
  public class C {
    public int M() { return 0; }
  }
}

and later B.cs

namespaces N {
  public class C {
    public int M() { return 1; }
  }
}

to the same assembly, then both { return 0; } and { return 1; } are statement bodies of N.C.M().

BlockStmt getAStatementBody()