mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Note that we don’t discriminate between .. and ... yet.
This commit is contained in:
parent
87f779af46
commit
5881bae111
@ -121,7 +121,7 @@ literal :: Assignment (Node Grammar) (Term Syntax Location)
|
||||
literal = leaf Language.Ruby.Syntax.True (const Literal.true)
|
||||
<|> leaf Language.Ruby.Syntax.False (const Literal.false)
|
||||
<|> leaf Language.Ruby.Syntax.Integer Literal.Integer
|
||||
<|> symbol Range *> term <*> children (Literal.Range <$> statement <*> statement)
|
||||
<|> symbol Range *> term <*> children (Literal.Range <$> statement <*> statement) -- FIXME: represent the difference between .. and ...
|
||||
|
||||
-- | Assignment of the current node’s annotation.
|
||||
term :: InUnion Syntax' f => Assignment (Node grammar) (f (Term Syntax Location) -> Term Syntax Location)
|
||||
|
Loading…
Reference in New Issue
Block a user