| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.C.AbsC
Description
The abstract syntax of language C.
Documentation
data TranslationUnit Source #
Constructors
| MkTranslationUnit [ExternalDeclaration] |
Instances
data ExternalDeclaration Source #
Constructors
| MkExternalDeclarationFunctionDefinition FunctionDefinition | |
| MkExternalDeclarationDeclaration Declaration |
Instances
data FunctionDefinition Source #
Constructors
| MkFunctionDefinition [DeclarationSpecifier] Declarator [Declaration] CompoundStatement |
Instances
data Declaration Source #
Constructors
| MkDeclaration DeclarationSpecifiers InitDeclarationListOpt |
Instances
| Read Declaration Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Declaration readList :: ReadS [Declaration] readPrec :: ReadPrec Declaration readListPrec :: ReadPrec [Declaration] | |
| Show Declaration Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Declaration -> ShowS show :: Declaration -> String showList :: [Declaration] -> ShowS | |
| Eq Declaration Source # | |
Defined in Language.C.AbsC | |
| Ord Declaration Source # | |
Defined in Language.C.AbsC Methods compare :: Declaration -> Declaration -> Ordering (<) :: Declaration -> Declaration -> Bool (<=) :: Declaration -> Declaration -> Bool (>) :: Declaration -> Declaration -> Bool (>=) :: Declaration -> Declaration -> Bool max :: Declaration -> Declaration -> Declaration min :: Declaration -> Declaration -> Declaration | |
| Print Declaration Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Declaration -> Doc Source # | |
| Print [Declaration] Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> [Declaration] -> Doc Source # | |
data DeclarationSpecifiers Source #
Constructors
| DeclarationSpecifiers DeclarationSpecifier [DeclarationSpecifier] |
Instances
data DeclarationSpecifier Source #
Constructors
| MkDeclarationSpecifierStorageClass StorageClassSpecifier | |
| MkDeclarationSpecifierTypeSpecifier TypeSpecifier | |
| MkDeclarationSpecifierTypeQualifier TypeQualifier |
Instances
data StorageClassSpecifier Source #
Constructors
| MkStorageClassSpecifierAuto | |
| MkStorageClassSpecifierRegister | |
| MkStorageClassSpecifierStatic | |
| MkStorageClassSpecifierExtern | |
| MkStorageClassSpecifierTypedef |
Instances
data TypeSpecifier Source #
Constructors
Instances
| Read TypeSpecifier Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS TypeSpecifier readList :: ReadS [TypeSpecifier] readPrec :: ReadPrec TypeSpecifier readListPrec :: ReadPrec [TypeSpecifier] | |
| Show TypeSpecifier Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> TypeSpecifier -> ShowS show :: TypeSpecifier -> String showList :: [TypeSpecifier] -> ShowS | |
| Eq TypeSpecifier Source # | |
Defined in Language.C.AbsC | |
| Ord TypeSpecifier Source # | |
Defined in Language.C.AbsC Methods compare :: TypeSpecifier -> TypeSpecifier -> Ordering (<) :: TypeSpecifier -> TypeSpecifier -> Bool (<=) :: TypeSpecifier -> TypeSpecifier -> Bool (>) :: TypeSpecifier -> TypeSpecifier -> Bool (>=) :: TypeSpecifier -> TypeSpecifier -> Bool max :: TypeSpecifier -> TypeSpecifier -> TypeSpecifier min :: TypeSpecifier -> TypeSpecifier -> TypeSpecifier | |
| Print TypeSpecifier Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> TypeSpecifier -> Doc Source # | |
data TypeQualifier Source #
Constructors
| MkTypeQualifierConst | |
| MkTypeQualifierVolatile |
Instances
| Read TypeQualifier Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS TypeQualifier readList :: ReadS [TypeQualifier] readPrec :: ReadPrec TypeQualifier readListPrec :: ReadPrec [TypeQualifier] | |
| Show TypeQualifier Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> TypeQualifier -> ShowS show :: TypeQualifier -> String showList :: [TypeQualifier] -> ShowS | |
| Eq TypeQualifier Source # | |
Defined in Language.C.AbsC | |
| Ord TypeQualifier Source # | |
Defined in Language.C.AbsC Methods compare :: TypeQualifier -> TypeQualifier -> Ordering (<) :: TypeQualifier -> TypeQualifier -> Bool (<=) :: TypeQualifier -> TypeQualifier -> Bool (>) :: TypeQualifier -> TypeQualifier -> Bool (>=) :: TypeQualifier -> TypeQualifier -> Bool max :: TypeQualifier -> TypeQualifier -> TypeQualifier min :: TypeQualifier -> TypeQualifier -> TypeQualifier | |
| Print TypeQualifier Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> TypeQualifier -> Doc Source # | |
data StructOrUnionSpecifier Source #
Constructors
| MkStructOrUnionSpecifierWithFields StructOrUnion IdentifierOpt [StructDeclaration] | |
| MkStructOrUnionSpecifierEmpty StructOrUnion Identifier |
Instances
data StructOrUnion Source #
Constructors
| MkStructOrUnionStruct | |
| MkStructOrUnionUnion |
Instances
| Read StructOrUnion Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS StructOrUnion readList :: ReadS [StructOrUnion] readPrec :: ReadPrec StructOrUnion readListPrec :: ReadPrec [StructOrUnion] | |
| Show StructOrUnion Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> StructOrUnion -> ShowS show :: StructOrUnion -> String showList :: [StructOrUnion] -> ShowS | |
| Eq StructOrUnion Source # | |
Defined in Language.C.AbsC | |
| Ord StructOrUnion Source # | |
Defined in Language.C.AbsC Methods compare :: StructOrUnion -> StructOrUnion -> Ordering (<) :: StructOrUnion -> StructOrUnion -> Bool (<=) :: StructOrUnion -> StructOrUnion -> Bool (>) :: StructOrUnion -> StructOrUnion -> Bool (>=) :: StructOrUnion -> StructOrUnion -> Bool max :: StructOrUnion -> StructOrUnion -> StructOrUnion min :: StructOrUnion -> StructOrUnion -> StructOrUnion | |
| Print StructOrUnion Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> StructOrUnion -> Doc Source # | |
data InitDeclarationListOpt Source #
Instances
data InitDeclarator Source #
Constructors
| MkInitDeclaratorUninitialized Declarator | |
| MkInitDeclaratorInitialized Declarator Initializer |
Instances
data StructDeclaration Source #
Constructors
| MkStructDeclaration [SpecifierQualifier] [StructDeclarator] |
Instances
data SpecifierQualifier Source #
Constructors
| MkSpecifierQualifierTypeSpecifier TypeSpecifier | |
| MkSpecifierQualifierTypeQualifier TypeQualifier |
Instances
data StructDeclarator Source #
Constructors
| MkStructDeclaratorDeclarator Declarator | |
| MkStructDeclaratorConstant DeclaratorOpt ConstantExpression |
Instances
data EnumSpecifier Source #
Instances
| Read EnumSpecifier Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS EnumSpecifier readList :: ReadS [EnumSpecifier] readPrec :: ReadPrec EnumSpecifier readListPrec :: ReadPrec [EnumSpecifier] | |
| Show EnumSpecifier Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> EnumSpecifier -> ShowS show :: EnumSpecifier -> String showList :: [EnumSpecifier] -> ShowS | |
| Eq EnumSpecifier Source # | |
Defined in Language.C.AbsC | |
| Ord EnumSpecifier Source # | |
Defined in Language.C.AbsC Methods compare :: EnumSpecifier -> EnumSpecifier -> Ordering (<) :: EnumSpecifier -> EnumSpecifier -> Bool (<=) :: EnumSpecifier -> EnumSpecifier -> Bool (>) :: EnumSpecifier -> EnumSpecifier -> Bool (>=) :: EnumSpecifier -> EnumSpecifier -> Bool max :: EnumSpecifier -> EnumSpecifier -> EnumSpecifier min :: EnumSpecifier -> EnumSpecifier -> EnumSpecifier | |
| Print EnumSpecifier Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> EnumSpecifier -> Doc Source # | |
data EnumeratorList Source #
Instances
data Enumerator Source #
Constructors
| MkEnumeratorUninitialized Identifier | |
| MkEnumeratorInitialized Identifier ConstantExpression |
Instances
| Read Enumerator Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Enumerator readList :: ReadS [Enumerator] readPrec :: ReadPrec Enumerator readListPrec :: ReadPrec [Enumerator] | |
| Show Enumerator Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Enumerator -> ShowS show :: Enumerator -> String showList :: [Enumerator] -> ShowS | |
| Eq Enumerator Source # | |
Defined in Language.C.AbsC | |
| Ord Enumerator Source # | |
Defined in Language.C.AbsC Methods compare :: Enumerator -> Enumerator -> Ordering (<) :: Enumerator -> Enumerator -> Bool (<=) :: Enumerator -> Enumerator -> Bool (>) :: Enumerator -> Enumerator -> Bool (>=) :: Enumerator -> Enumerator -> Bool max :: Enumerator -> Enumerator -> Enumerator min :: Enumerator -> Enumerator -> Enumerator | |
| Print Enumerator Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Enumerator -> Doc Source # | |
data DeclaratorOpt Source #
Constructors
| MkDeclaratorOptNothing | |
| MkDeclaratorOptJust Declarator |
Instances
| Read DeclaratorOpt Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS DeclaratorOpt readList :: ReadS [DeclaratorOpt] readPrec :: ReadPrec DeclaratorOpt readListPrec :: ReadPrec [DeclaratorOpt] | |
| Show DeclaratorOpt Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> DeclaratorOpt -> ShowS show :: DeclaratorOpt -> String showList :: [DeclaratorOpt] -> ShowS | |
| Eq DeclaratorOpt Source # | |
Defined in Language.C.AbsC | |
| Ord DeclaratorOpt Source # | |
Defined in Language.C.AbsC Methods compare :: DeclaratorOpt -> DeclaratorOpt -> Ordering (<) :: DeclaratorOpt -> DeclaratorOpt -> Bool (<=) :: DeclaratorOpt -> DeclaratorOpt -> Bool (>) :: DeclaratorOpt -> DeclaratorOpt -> Bool (>=) :: DeclaratorOpt -> DeclaratorOpt -> Bool max :: DeclaratorOpt -> DeclaratorOpt -> DeclaratorOpt min :: DeclaratorOpt -> DeclaratorOpt -> DeclaratorOpt | |
| Print DeclaratorOpt Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> DeclaratorOpt -> Doc Source # | |
data Declarator Source #
Constructors
| MkDeclarator PointerOpt DirectDeclarator |
Instances
| Read Declarator Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Declarator readList :: ReadS [Declarator] readPrec :: ReadPrec Declarator readListPrec :: ReadPrec [Declarator] | |
| Show Declarator Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Declarator -> ShowS show :: Declarator -> String showList :: [Declarator] -> ShowS | |
| Eq Declarator Source # | |
Defined in Language.C.AbsC | |
| Ord Declarator Source # | |
Defined in Language.C.AbsC Methods compare :: Declarator -> Declarator -> Ordering (<) :: Declarator -> Declarator -> Bool (<=) :: Declarator -> Declarator -> Bool (>) :: Declarator -> Declarator -> Bool (>=) :: Declarator -> Declarator -> Bool max :: Declarator -> Declarator -> Declarator min :: Declarator -> Declarator -> Declarator | |
| Print Declarator Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Declarator -> Doc Source # | |
data DirectDeclarator Source #
Constructors
Instances
data PointerOpt Source #
Constructors
| MkPointerOptNothing | |
| MkPointerOptJust Pointer |
Instances
| Read PointerOpt Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS PointerOpt readList :: ReadS [PointerOpt] readPrec :: ReadPrec PointerOpt readListPrec :: ReadPrec [PointerOpt] | |
| Show PointerOpt Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> PointerOpt -> ShowS show :: PointerOpt -> String showList :: [PointerOpt] -> ShowS | |
| Eq PointerOpt Source # | |
Defined in Language.C.AbsC | |
| Ord PointerOpt Source # | |
Defined in Language.C.AbsC Methods compare :: PointerOpt -> PointerOpt -> Ordering (<) :: PointerOpt -> PointerOpt -> Bool (<=) :: PointerOpt -> PointerOpt -> Bool (>) :: PointerOpt -> PointerOpt -> Bool (>=) :: PointerOpt -> PointerOpt -> Bool max :: PointerOpt -> PointerOpt -> PointerOpt min :: PointerOpt -> PointerOpt -> PointerOpt | |
| Print PointerOpt Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> PointerOpt -> Doc Source # | |
data TypeQualifierListOpt Source #
Instances
data TypeQualifierList Source #
Instances
data ParameterTypeList Source #
Instances
data ParameterList Source #
Constructors
| MkParameterList1 ParameterDeclaration | |
| MkParameterListN ParameterList ParameterDeclaration |
Instances
| Read ParameterList Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS ParameterList readList :: ReadS [ParameterList] readPrec :: ReadPrec ParameterList readListPrec :: ReadPrec [ParameterList] | |
| Show ParameterList Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> ParameterList -> ShowS show :: ParameterList -> String showList :: [ParameterList] -> ShowS | |
| Eq ParameterList Source # | |
Defined in Language.C.AbsC | |
| Ord ParameterList Source # | |
Defined in Language.C.AbsC Methods compare :: ParameterList -> ParameterList -> Ordering (<) :: ParameterList -> ParameterList -> Bool (<=) :: ParameterList -> ParameterList -> Bool (>) :: ParameterList -> ParameterList -> Bool (>=) :: ParameterList -> ParameterList -> Bool max :: ParameterList -> ParameterList -> ParameterList min :: ParameterList -> ParameterList -> ParameterList | |
| Print ParameterList Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> ParameterList -> Doc Source # | |
data ParameterDeclaration Source #
Constructors
| MkParameterDeclarationDeclarator DeclarationSpecifiers Declarator | |
| MkParameterDeclarationAbstractDeclaratorOpt DeclarationSpecifiers AbstractDeclaratorOpt |
Instances
data IdentifierListOpt Source #
Instances
data IdentifierList Source #
Instances
data Initializer Source #
Constructors
| MkInitializerAssignment Expression | |
| MkInitializerIniutializerList InitializerList | |
| MkInitializerIniutializerListC InitializerList |
Instances
| Read Initializer Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Initializer readList :: ReadS [Initializer] readPrec :: ReadPrec Initializer readListPrec :: ReadPrec [Initializer] | |
| Show Initializer Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Initializer -> ShowS show :: Initializer -> String showList :: [Initializer] -> ShowS | |
| Eq Initializer Source # | |
Defined in Language.C.AbsC | |
| Ord Initializer Source # | |
Defined in Language.C.AbsC Methods compare :: Initializer -> Initializer -> Ordering (<) :: Initializer -> Initializer -> Bool (<=) :: Initializer -> Initializer -> Bool (>) :: Initializer -> Initializer -> Bool (>=) :: Initializer -> Initializer -> Bool max :: Initializer -> Initializer -> Initializer min :: Initializer -> Initializer -> Initializer | |
| Print Initializer Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Initializer -> Doc Source # | |
data InitializerList Source #
Instances
Constructors
| MkTypeName [SpecifierQualifier] AbstractDeclaratorOpt |
data AbstractDeclaratorOpt Source #
Instances
data AbstractDeclarator Source #
Constructors
| MkAbstractDeclaratorPointer Pointer | |
| MkAbstractDeclaratorDirect PointerOpt DirectAbstractDeclarator |
Instances
data DirectAbstractDeclaratorOpt Source #
Constructors
| MkDirectAbstractDeclaratorOptNothing | |
| MkDirectAbstractDeclaratorOptJust DirectAbstractDeclarator |
Instances
data DirectAbstractDeclarator Source #
Constructors
Instances
Constructors
data LabeledStatement Source #
Constructors
| MkLabeledStatementIdentifier Identifier Statement | |
| MkLabeledStatementCase ConstantExpression Statement | |
| MkLabeledStatementDefault Statement |
Instances
data ExpressionStatement Source #
Constructors
| MkExpressionStatement ExpressionOpt |
Instances
data CompoundStatement Source #
Constructors
| MkCompoundStatement [Declaration] [Statement] |
Instances
data SelectionStatement Source #
Constructors
| MkSelectionStatementIfThen Expression Statement | |
| MkSelectionStatementIfThenElse Expression Statement Statement | |
| MkSelectionStatementSwitch Expression Statement |
Instances
data IterationStatement Source #
Constructors
| MkIterationStatementWhile Expression Statement | |
| MkIterationStatementDo Statement Expression | |
| MkIterationStatementFor ExpressionOpt ExpressionOpt ExpressionOpt Statement |
Instances
data JumpStatement Source #
Constructors
| MkJumpStatementGoto Identifier | |
| MkJumpStatementContinue | |
| MkJumpStatementBreak | |
| MkJumpStatementReturn ExpressionOpt |
Instances
| Read JumpStatement Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS JumpStatement readList :: ReadS [JumpStatement] readPrec :: ReadPrec JumpStatement readListPrec :: ReadPrec [JumpStatement] | |
| Show JumpStatement Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> JumpStatement -> ShowS show :: JumpStatement -> String showList :: [JumpStatement] -> ShowS | |
| Eq JumpStatement Source # | |
Defined in Language.C.AbsC | |
| Ord JumpStatement Source # | |
Defined in Language.C.AbsC Methods compare :: JumpStatement -> JumpStatement -> Ordering (<) :: JumpStatement -> JumpStatement -> Bool (<=) :: JumpStatement -> JumpStatement -> Bool (>) :: JumpStatement -> JumpStatement -> Bool (>=) :: JumpStatement -> JumpStatement -> Bool max :: JumpStatement -> JumpStatement -> JumpStatement min :: JumpStatement -> JumpStatement -> JumpStatement | |
| Print JumpStatement Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> JumpStatement -> Doc Source # | |
data ExpressionOpt Source #
Constructors
| MkExpressionOptNothing | |
| MkExpressionOptJust Expression |
Instances
| Read ExpressionOpt Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS ExpressionOpt readList :: ReadS [ExpressionOpt] readPrec :: ReadPrec ExpressionOpt readListPrec :: ReadPrec [ExpressionOpt] | |
| Show ExpressionOpt Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> ExpressionOpt -> ShowS show :: ExpressionOpt -> String showList :: [ExpressionOpt] -> ShowS | |
| Eq ExpressionOpt Source # | |
Defined in Language.C.AbsC | |
| Ord ExpressionOpt Source # | |
Defined in Language.C.AbsC Methods compare :: ExpressionOpt -> ExpressionOpt -> Ordering (<) :: ExpressionOpt -> ExpressionOpt -> Bool (<=) :: ExpressionOpt -> ExpressionOpt -> Bool (>) :: ExpressionOpt -> ExpressionOpt -> Bool (>=) :: ExpressionOpt -> ExpressionOpt -> Bool max :: ExpressionOpt -> ExpressionOpt -> ExpressionOpt min :: ExpressionOpt -> ExpressionOpt -> ExpressionOpt | |
| Print ExpressionOpt Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> ExpressionOpt -> Doc Source # | |
data Expression Source #
Constructors
Instances
| Read Expression Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Expression readList :: ReadS [Expression] readPrec :: ReadPrec Expression readListPrec :: ReadPrec [Expression] | |
| Show Expression Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Expression -> ShowS show :: Expression -> String showList :: [Expression] -> ShowS | |
| Eq Expression Source # | |
Defined in Language.C.AbsC | |
| Ord Expression Source # | |
Defined in Language.C.AbsC Methods compare :: Expression -> Expression -> Ordering (<) :: Expression -> Expression -> Bool (<=) :: Expression -> Expression -> Bool (>) :: Expression -> Expression -> Bool (>=) :: Expression -> Expression -> Bool max :: Expression -> Expression -> Expression min :: Expression -> Expression -> Expression | |
| Print Expression Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Expression -> Doc Source # | |
| Print [Expression] Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> [Expression] -> Doc Source # | |
data AssignmentOperator Source #
Constructors
Instances
data ConstantExpressionOpt Source #
Instances
data ConstantExpression Source #
Constructors
| MkConstantExpression Expression |
Instances
Constructors
| ShiftOpLeft | |
| ShiftOpRight |
Constructors
| AddOpPlus | |
| AddOpMinus |
Constructors
| MultOpTimes | |
| MultOpDiv | |
| MultOpMod |
data CastExpression Source #
Instances
data UnaryExpression Source #
Constructors
Instances
data UnaryOperator Source #
Constructors
| MkUnaryOperatorAnd | |
| MkUnaryOperatorTimes | |
| MkUnaryOperatorPlus | |
| MkUnaryOperatorMinus | |
| MkUnaryOperatorTilde | |
| MkUnaryOperatorBang |
Instances
| Read UnaryOperator Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS UnaryOperator readList :: ReadS [UnaryOperator] readPrec :: ReadPrec UnaryOperator readListPrec :: ReadPrec [UnaryOperator] | |
| Show UnaryOperator Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> UnaryOperator -> ShowS show :: UnaryOperator -> String showList :: [UnaryOperator] -> ShowS | |
| Eq UnaryOperator Source # | |
Defined in Language.C.AbsC | |
| Ord UnaryOperator Source # | |
Defined in Language.C.AbsC Methods compare :: UnaryOperator -> UnaryOperator -> Ordering (<) :: UnaryOperator -> UnaryOperator -> Bool (<=) :: UnaryOperator -> UnaryOperator -> Bool (>) :: UnaryOperator -> UnaryOperator -> Bool (>=) :: UnaryOperator -> UnaryOperator -> Bool max :: UnaryOperator -> UnaryOperator -> UnaryOperator min :: UnaryOperator -> UnaryOperator -> UnaryOperator | |
| Print UnaryOperator Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> UnaryOperator -> Doc Source # | |
data PostfixExpression Source #
Constructors
Instances
data PrimaryExpression Source #
Constructors
| MkPrimaryExpressionIdentifier Identifier | |
| MkPrimaryExpressionConstant Constant | |
| MkPrimaryExpressionString String | |
| MkPrimaryExpressionParExpression Expression |
Instances
data ArgumentExpressionListOpt Source #
Instances
Constructors
| MkConstantInteger IntegerConstant | |
| MkConstantCharacter CharacterConstant | |
| MkConstantFloating FloatingConstant |
data IdentifierOpt Source #
Constructors
| MkIdentifierOptNothing | |
| MkIdentifierOptJust Identifier |
Instances
| Read IdentifierOpt Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS IdentifierOpt readList :: ReadS [IdentifierOpt] readPrec :: ReadPrec IdentifierOpt readListPrec :: ReadPrec [IdentifierOpt] | |
| Show IdentifierOpt Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> IdentifierOpt -> ShowS show :: IdentifierOpt -> String showList :: [IdentifierOpt] -> ShowS | |
| Eq IdentifierOpt Source # | |
Defined in Language.C.AbsC | |
| Ord IdentifierOpt Source # | |
Defined in Language.C.AbsC Methods compare :: IdentifierOpt -> IdentifierOpt -> Ordering (<) :: IdentifierOpt -> IdentifierOpt -> Bool (<=) :: IdentifierOpt -> IdentifierOpt -> Bool (>) :: IdentifierOpt -> IdentifierOpt -> Bool (>=) :: IdentifierOpt -> IdentifierOpt -> Bool max :: IdentifierOpt -> IdentifierOpt -> IdentifierOpt min :: IdentifierOpt -> IdentifierOpt -> IdentifierOpt | |
| Print IdentifierOpt Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> IdentifierOpt -> Doc Source # | |
data CharacterConstant Source #
Constructors
| MkCharacterConstant Char |
Instances
data FloatingConstant Source #
Constructors
| MkFloatingConstant Double |
Instances
newtype Identifier Source #
Constructors
| Identifier String |
Instances
| IsString Identifier Source # | |
Defined in Language.C.AbsC Methods fromString :: String -> Identifier | |
| Read Identifier Source # | |
Defined in Language.C.AbsC Methods readsPrec :: Int -> ReadS Identifier readList :: ReadS [Identifier] readPrec :: ReadPrec Identifier readListPrec :: ReadPrec [Identifier] | |
| Show Identifier Source # | |
Defined in Language.C.AbsC Methods showsPrec :: Int -> Identifier -> ShowS show :: Identifier -> String showList :: [Identifier] -> ShowS | |
| Eq Identifier Source # | |
Defined in Language.C.AbsC | |
| Ord Identifier Source # | |
Defined in Language.C.AbsC Methods compare :: Identifier -> Identifier -> Ordering (<) :: Identifier -> Identifier -> Bool (<=) :: Identifier -> Identifier -> Bool (>) :: Identifier -> Identifier -> Bool (>=) :: Identifier -> Identifier -> Bool max :: Identifier -> Identifier -> Identifier min :: Identifier -> Identifier -> Identifier | |
| Print Identifier Source # | |
Defined in Language.C.PrintC Methods prt :: Int -> Identifier -> Doc Source # | |
newtype IntegerConstant Source #
Constructors
| IntegerConstant String |