mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Add a language-agnostic assignment of Throw
.
This commit is contained in:
parent
84db693349
commit
833f2f755e
@ -100,6 +100,7 @@ defaultTermAssignment source category children allChildren
|
||||
-- Statements
|
||||
(Return, _) -> S.Return children
|
||||
(Yield, _) -> S.Yield children
|
||||
(Throw, [expr]) -> S.Throw expr
|
||||
(Break, [label]) -> S.Break (Just label)
|
||||
(Break, []) -> S.Break Nothing
|
||||
(Continue, [label]) -> S.Continue (Just label)
|
||||
|
Loading…
Reference in New Issue
Block a user