1
1
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:
Rob Rix 2017-01-25 03:02:03 -05:00
parent 84db693349
commit 833f2f755e

View File

@ -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)