First cut of making coroutine AST type

This commit is contained in:
Anton Korobeynikov
2024-08-13 22:27:02 -07:00
parent 797f500286
commit 76c9a23f27
32 changed files with 223 additions and 71 deletions

View File

@@ -1524,6 +1524,10 @@ public:
/// type, return the abstraction pattern for one of its argument types.
AbstractionPattern getParameterizedProtocolArgType(unsigned i) const;
/// Given that the value being abstracted is a yield result type,
/// return the abstraction pattern for corresponding type.
AbstractionPattern getYieldResultType() const;
/// Given that the value being abstracted is a function, return the
/// abstraction pattern for its result type.
AbstractionPattern getFunctionResultType() const;