1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

Add Operator Syntax

This commit is contained in:
Rick Winfrey 2016-06-17 17:03:09 -05:00
parent 2432cd53cb
commit 5cb1a05f0d

View File

@ -36,6 +36,8 @@ data Syntax
-- | The list of arguments to a method call.
-- | TODO: It might be worth removing this and using Fixed instead.
| Args [f]
-- | An operator can be applied to a list of syntaxes.
| Operator [f]
-- | A variable declaration. e.g. var foo;
| VarDecl f
-- | A variable assignment in a variable declaration. var foo = bar;