mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
Define Identifier syntax.
This commit is contained in:
parent
9afc6986cc
commit
4c959d4635
@ -9,3 +9,10 @@ newtype Leaf a = Leaf { leafContent :: ByteString }
|
||||
|
||||
newtype Branch a = Branch { branchElements :: [a] }
|
||||
deriving (Eq, Show)
|
||||
|
||||
|
||||
-- Common
|
||||
|
||||
-- | An identifier of some other construct, whether a containing declaration (e.g. a class name) or a reference (e.g. a variable).
|
||||
newtype Identifier a = Identifier ByteString
|
||||
deriving (Eq, Show)
|
||||
|
Loading…
Reference in New Issue
Block a user