mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
Remove comment
This commit is contained in:
parent
51c2b0a484
commit
a3b3bee219
@ -71,8 +71,6 @@ termConstructor source info children = cofree (info :< syntax)
|
|||||||
construct :: [Term Text Info] -> Syntax Text (Term Text Info)
|
construct :: [Term Text Info] -> Syntax Text (Term Text Info)
|
||||||
construct [] = Leaf . pack . toString $ slice (characterRange info) source
|
construct [] = Leaf . pack . toString $ slice (characterRange info) source
|
||||||
construct children | isAssignment (category info) = case children of
|
construct children | isAssignment (category info) = case children of
|
||||||
-- x.y = 0
|
|
||||||
-- x.y
|
|
||||||
(identifier:value:[]) -> Syntax.Assignment identifier value
|
(identifier:value:[]) -> Syntax.Assignment identifier value
|
||||||
construct children | isMemberAccess (category info) = case children of
|
construct children | isMemberAccess (category info) = case children of
|
||||||
(base:property:[]) -> Syntax.MemberAccess base property
|
(base:property:[]) -> Syntax.MemberAccess base property
|
||||||
|
Loading…
Reference in New Issue
Block a user