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.

  1. EnumType :: SUERef -> [Enumerator] -> Attributes -> NodeInfo -> EnumType

    language-c Language.C.Analysis.SemRep

    EnumType name enumeration-constants attrs node
    

  2. data EnumTypeRef

    language-c Language.C.Analysis.SemRep

    No documentation available.

  3. EnumTypeRef :: SUERef -> NodeInfo -> EnumTypeRef

    language-c Language.C.Analysis.SemRep

    No documentation available.

  4. data Enumerator

    language-c Language.C.Analysis.SemRep

    An Enumerator consists of an identifier, a constant expressions and the link to its type

  5. Enumerator :: Ident -> Expr -> EnumType -> NodeInfo -> Enumerator

    language-c Language.C.Analysis.SemRep

    No documentation available.

  6. EnumeratorDef :: Enumerator -> IdentDecl

    language-c Language.C.Analysis.SemRep

    definition of an enumerator

  7. TyEnum :: EnumTypeRef -> TypeName

    language-c Language.C.Analysis.SemRep

    No documentation available.

  8. typeOfEnumDef :: EnumType -> TypeName

    language-c Language.C.Analysis.SemRep

    return the type of an enum definition

  9. handleEnumeratorDef :: (MonadCError m, MonadSymtab m) => Enumerator -> m ()

    language-c Language.C.Analysis.TravMonad

    No documentation available.

  10. type CEnum = CEnumeration NodeInfo

    language-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

Page 718 of many | Previous | Next