mirror of
https://github.com/github/semantic.git
synced 2025-01-09 00:56:32 +03:00
Parse Constructor syntax
This commit is contained in:
parent
a625302391
commit
a456a4f64e
@ -101,5 +101,7 @@ termConstructor source sourceSpan info = cofree . construct
|
||||
withDefaultInfo $ S.While expr body
|
||||
construct children | DoWhile == (category info), [expr, body] <- children =
|
||||
withDefaultInfo $ S.DoWhile expr body
|
||||
construct children | Constructor == category info, [expr] <- children =
|
||||
withDefaultInfo $ S.Constructor expr
|
||||
construct children =
|
||||
withDefaultInfo $ S.Indexed children
|
||||
|
Loading…
Reference in New Issue
Block a user