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:
parent
2432cd53cb
commit
5cb1a05f0d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user