mirror of
https://github.com/github/semantic.git
synced 2025-01-03 13:02:37 +03:00
ruby: hack in super call support for now
This commit is contained in:
parent
210ff626f1
commit
0013bf1975
@ -319,6 +319,7 @@ methodSelector = makeTerm <$> symbols <*> (Syntax.Identifier <$> (name <$> sourc
|
||||
<|> symbol Identifier'
|
||||
<|> symbol Constant
|
||||
<|> symbol Operator
|
||||
<|> symbol Super -- TODO(@charliesome): super calls are *not* method calls and need to be assigned into their own syntax terms
|
||||
|
||||
call :: Assignment
|
||||
call = makeTerm <$> symbol Call <*> children (Ruby.Syntax.Send <$> (Just <$> term expression) <*> methodSelector <*> many expression <*> optional block)
|
||||
|
Loading…
Reference in New Issue
Block a user