Copyright | (c) Alec Theriault 2017-2018 |
---|---|
License | BSD-style |
Maintainer | alec.theriault@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Data structure behind identifiers.
Documentation
An identifier
Instances
Eq Ident Source # | Uses |
Data Ident Source # | |
Defined in Language.Rust.Data.Ident gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Ident -> c Ident # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Ident # dataTypeOf :: Ident -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Ident) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Ident) # gmapT :: (forall b. Data b => b -> b) -> Ident -> Ident # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Ident -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Ident -> r # gmapQ :: (forall d. Data d => d -> u) -> Ident -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Ident -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Ident -> m Ident # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Ident -> m Ident # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Ident -> m Ident # | |
Ord Ident Source # | Uses |
Show Ident Source # | Shows the identifier as a string (for use with |
IsString Ident Source # | |
Defined in Language.Rust.Data.Ident fromString :: String -> Ident # | |
Generic Ident Source # | |
Semigroup Ident Source # | Forgets about whether either argument was raw <<<<<<< HEAD |
Monoid Ident Source # | Forgets about whether either argument was raw |
NFData Ident Source # | |
Defined in Language.Rust.Data.Ident | |
Resolve Ident Source # | |
Pretty Ident Source # | |
Defined in Language.Rust.Pretty prettyUnresolved :: Ident -> Doc b Source # | |
type Rep Ident Source # | |
Defined in Language.Rust.Data.Ident type Rep Ident = D1 (MetaData "Ident" "Language.Rust.Data.Ident" "flp-0.1.0.0-DeMkA8gwwJbCOh6gqZDp9v" False) (C1 (MetaCons "Ident" PrefixI True) (S1 (MetaSel (Just "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 IdentName) :*: (S1 (MetaSel (Just "raw") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Bool) :*: S1 (MetaSel (Just "hash") SourceUnpack SourceStrict DecidedStrict) (Rec0 Int)))) |
Instances
Eq IdentName Source # | |
Data IdentName Source # | |
Defined in Language.Rust.Data.Ident gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IdentName -> c IdentName # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IdentName # toConstr :: IdentName -> Constr # dataTypeOf :: IdentName -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IdentName) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IdentName) # gmapT :: (forall b. Data b => b -> b) -> IdentName -> IdentName # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IdentName -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IdentName -> r # gmapQ :: (forall d. Data d => d -> u) -> IdentName -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> IdentName -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> IdentName -> m IdentName # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentName -> m IdentName # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IdentName -> m IdentName # | |
Ord IdentName Source # | |
Defined in Language.Rust.Data.Ident | |
Show IdentName Source # | |
Generic IdentName Source # | |
NFData IdentName Source # | |
Defined in Language.Rust.Data.Ident | |
type Rep IdentName Source # | |
Defined in Language.Rust.Data.Ident type Rep IdentName = D1 (MetaData "IdentName" "Language.Rust.Data.Ident" "flp-0.1.0.0-DeMkA8gwwJbCOh6gqZDp9v" False) (C1 (MetaCons "Name" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Name)) :+: C1 (MetaCons "HaskellName" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String))) |