1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00

Args docs

This commit is contained in:
joshvera 2016-06-14 14:37:02 -07:00
parent e56b8268f1
commit c839aace33

View File

@ -29,5 +29,7 @@ data Syntax
-- | A method call consisting of its target, the method name, and the parameters passed to the method.
-- | e.g. in Javascript console.log('hello') represents a method call.
| MethodCall { targetId :: f, methodId :: f, methodParams :: f }
-- | The list of arguments to a method call.
-- | TODO: It might be worth removing this and using Fixed instead.
| Args [f]
deriving (Functor, Show, Eq, Foldable, Traversable)