Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
EnumType :: SUERef -> [Enumerator] -> Attributes -> NodeInfo -> EnumTypelanguage-c Language.C.Analysis.SemRep EnumType name enumeration-constants attrs node
-
language-c Language.C.Analysis.SemRep No documentation available.
EnumTypeRef :: SUERef -> NodeInfo -> EnumTypeReflanguage-c Language.C.Analysis.SemRep No documentation available.
-
language-c Language.C.Analysis.SemRep An Enumerator consists of an identifier, a constant expressions and the link to its type
Enumerator :: Ident -> Expr -> EnumType -> NodeInfo -> Enumeratorlanguage-c Language.C.Analysis.SemRep No documentation available.
EnumeratorDef :: Enumerator -> IdentDecllanguage-c Language.C.Analysis.SemRep definition of an enumerator
TyEnum :: EnumTypeRef -> TypeNamelanguage-c Language.C.Analysis.SemRep No documentation available.
typeOfEnumDef :: EnumType -> TypeNamelanguage-c Language.C.Analysis.SemRep return the type of an enum definition
handleEnumeratorDef :: (MonadCError m, MonadSymtab m) => Enumerator -> m ()language-c Language.C.Analysis.TravMonad No documentation available.
type
CEnum = CEnumeration NodeInfolanguage-c Language.C.Syntax.AST C enumeration specifier (K&R A8.4, C99 6.7.2.2) CEnum identifier enumerator-list attrs represent as enum specifier
- Either the identifier or the enumerator-list (or both) have to be present.
- If enumerator-list is present, it has to be non-empty.
- The enumerator list is of the form (enumeration-constant, enumeration-value?), where the latter is an optional constant integral expression.
- attrs is a list of attribute annotations associated with the enumeration specifier