mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
🔥 an extra space.
This commit is contained in:
parent
129d962041
commit
860138fe19
@ -103,7 +103,7 @@ literal = term <*> (Literal.true <$ symbol Language.Ruby.Syntax.True <* source
|
|||||||
|
|
||||||
-- | Assignment of the current node’s annotation.
|
-- | Assignment of the current node’s annotation.
|
||||||
term :: InUnion Syntax' f => Assignment (Node grammar) (f (Term Syntax Location) -> Term Syntax Location)
|
term :: InUnion Syntax' f => Assignment (Node grammar) (f (Term Syntax Location) -> Term Syntax Location)
|
||||||
term = (\ a f -> cofree $ a :< inj f) <$> location
|
term = (\ a f -> cofree $ a :< inj f) <$> location
|
||||||
|
|
||||||
leaf :: (Enum symbol, Eq symbol, InUnion Syntax' f) => (ByteString -> f (Term Syntax Location)) -> symbol -> Assignment (Node symbol) (Term Syntax Location)
|
leaf :: (Enum symbol, Eq symbol, InUnion Syntax' f) => (ByteString -> f (Term Syntax Location)) -> symbol -> Assignment (Node symbol) (Term Syntax Location)
|
||||||
leaf f s = symbol s *> pure (\ a -> cofree . (a :<) . inj . f) <*> location <*> source
|
leaf f s = symbol s *> pure (\ a -> cofree . (a :<) . inj . f) <*> location <*> source
|
||||||
|
Loading…
Reference in New Issue
Block a user