mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[CodeCompletion] Auto-completing the throw statement.
When the code completion token appears after throw keyword, a set of visible decls and instances conforming _ErrorType are recommended as completion. Swift SVN r26565
This commit is contained in:
@@ -130,9 +130,12 @@ public:
|
||||
/// \brief Complete a case stmt pattern that starts with a dot.
|
||||
virtual void completeCaseStmtDotPrefix() = 0;
|
||||
|
||||
/// \brief Complete at the beginning of a catch stmt pattern.
|
||||
/// \brief Complete at the beginning of a catch stmt pattern.
|
||||
virtual void completeCatchStmtBeginning() = 0;
|
||||
|
||||
/// \brief Complete at the beginning of a throw stmt pattern.
|
||||
virtual void completeThrowStmtBeginning() = 0;
|
||||
|
||||
/// Complete at the beginning of member of a nominal decl member -- no tokens
|
||||
/// provided by user.
|
||||
virtual void completeNominalMemberBeginning(
|
||||
|
||||
Reference in New Issue
Block a user