Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Language.GLSL.Syntax
Documentation
data TranslationUnit Source #
Constructors
TranslationUnit [ExternalDeclaration] |
Instances
Show TranslationUnit Source # | |
Defined in Language.GLSL.Syntax | |
Eq TranslationUnit Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: TranslationUnit -> TranslationUnit -> Bool Source # (/=) :: TranslationUnit -> TranslationUnit -> Bool Source # | |
Pretty TranslationUnit Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> TranslationUnit -> Doc Source # pPrint :: TranslationUnit -> Doc Source # pPrintList :: PrettyLevel -> [TranslationUnit] -> Doc Source # |
data ExternalDeclaration Source #
Constructors
FunctionDeclaration FunctionPrototype | |
FunctionDefinition FunctionPrototype Compound | |
Declaration Declaration |
Instances
Show ExternalDeclaration Source # | |
Defined in Language.GLSL.Syntax | |
Eq ExternalDeclaration Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: ExternalDeclaration -> ExternalDeclaration -> Bool Source # (/=) :: ExternalDeclaration -> ExternalDeclaration -> Bool Source # | |
Pretty ExternalDeclaration Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> ExternalDeclaration -> Doc Source # pPrint :: ExternalDeclaration -> Doc Source # pPrintList :: PrettyLevel -> [ExternalDeclaration] -> Doc Source # |
data Declaration Source #
Constructors
InitDeclaration InvariantOrType [InitDeclarator] | |
Precision PrecisionQualifier TypeSpecifierNoPrecision | |
Block TypeQualifier String [Field] (Maybe (String, Maybe (Maybe Expr))) | |
TQ TypeQualifier |
Instances
Show Declaration Source # | |
Defined in Language.GLSL.Syntax | |
Eq Declaration Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: Declaration -> Declaration -> Bool Source # (/=) :: Declaration -> Declaration -> Bool Source # | |
Pretty Declaration Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> Declaration -> Doc Source # pPrint :: Declaration -> Doc Source # pPrintList :: PrettyLevel -> [Declaration] -> Doc Source # |
data InitDeclarator Source #
Instances
Show InitDeclarator Source # | |
Defined in Language.GLSL.Syntax | |
Eq InitDeclarator Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: InitDeclarator -> InitDeclarator -> Bool Source # (/=) :: InitDeclarator -> InitDeclarator -> Bool Source # | |
Pretty InitDeclarator Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> InitDeclarator -> Doc Source # pPrint :: InitDeclarator -> Doc Source # pPrintList :: PrettyLevel -> [InitDeclarator] -> Doc Source # |
data InvariantOrType Source #
Constructors
InvariantDeclarator | |
TypeDeclarator FullType |
Instances
Show InvariantOrType Source # | |
Defined in Language.GLSL.Syntax | |
Eq InvariantOrType Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: InvariantOrType -> InvariantOrType -> Bool Source # (/=) :: InvariantOrType -> InvariantOrType -> Bool Source # | |
Pretty InvariantOrType Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> InvariantOrType -> Doc Source # pPrint :: InvariantOrType -> Doc Source # pPrintList :: PrettyLevel -> [InvariantOrType] -> Doc Source # |
data FunctionPrototype Source #
Constructors
FuncProt FullType String [ParameterDeclaration] |
Instances
Show FunctionPrototype Source # | |
Defined in Language.GLSL.Syntax | |
Eq FunctionPrototype Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: FunctionPrototype -> FunctionPrototype -> Bool Source # (/=) :: FunctionPrototype -> FunctionPrototype -> Bool Source # | |
Pretty FunctionPrototype Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> FunctionPrototype -> Doc Source # pPrint :: FunctionPrototype -> Doc Source # pPrintList :: PrettyLevel -> [FunctionPrototype] -> Doc Source # |
data ParameterDeclaration Source #
Constructors
ParameterDeclaration (Maybe ParameterTypeQualifier) (Maybe ParameterQualifier) TypeSpecifier (Maybe (String, Maybe Expr)) |
Instances
Show ParameterDeclaration Source # | |
Defined in Language.GLSL.Syntax | |
Eq ParameterDeclaration Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: ParameterDeclaration -> ParameterDeclaration -> Bool Source # (/=) :: ParameterDeclaration -> ParameterDeclaration -> Bool Source # | |
Pretty ParameterDeclaration Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> ParameterDeclaration -> Doc Source # pPrint :: ParameterDeclaration -> Doc Source # pPrintList :: PrettyLevel -> [ParameterDeclaration] -> Doc Source # |
Constructors
FullType (Maybe TypeQualifier) TypeSpecifier |
data TypeQualifier Source #
Constructors
Instances
Show TypeQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq TypeQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: TypeQualifier -> TypeQualifier -> Bool Source # (/=) :: TypeQualifier -> TypeQualifier -> Bool Source # | |
Pretty TypeQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> TypeQualifier -> Doc Source # pPrint :: TypeQualifier -> Doc Source # pPrintList :: PrettyLevel -> [TypeQualifier] -> Doc Source # |
data TypeSpecifier Source #
Constructors
TypeSpec (Maybe PrecisionQualifier) TypeSpecifierNoPrecision |
Instances
Show TypeSpecifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq TypeSpecifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: TypeSpecifier -> TypeSpecifier -> Bool Source # (/=) :: TypeSpecifier -> TypeSpecifier -> Bool Source # | |
Pretty TypeSpecifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> TypeSpecifier -> Doc Source # pPrint :: TypeSpecifier -> Doc Source # pPrintList :: PrettyLevel -> [TypeSpecifier] -> Doc Source # |
data InvariantQualifier Source #
Constructors
Invariant |
Instances
Show InvariantQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq InvariantQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: InvariantQualifier -> InvariantQualifier -> Bool Source # (/=) :: InvariantQualifier -> InvariantQualifier -> Bool Source # | |
Pretty InvariantQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> InvariantQualifier -> Doc Source # pPrint :: InvariantQualifier -> Doc Source # pPrintList :: PrettyLevel -> [InvariantQualifier] -> Doc Source # |
data InterpolationQualifier Source #
Constructors
Smooth | |
Flat | |
NoPerspective |
Instances
Show InterpolationQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq InterpolationQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: InterpolationQualifier -> InterpolationQualifier -> Bool Source # (/=) :: InterpolationQualifier -> InterpolationQualifier -> Bool Source # | |
Pretty InterpolationQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> InterpolationQualifier -> Doc Source # pPrint :: InterpolationQualifier -> Doc Source # pPrintList :: PrettyLevel -> [InterpolationQualifier] -> Doc Source # |
data LayoutQualifier Source #
Constructors
Layout [LayoutQualifierId] |
Instances
Show LayoutQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq LayoutQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: LayoutQualifier -> LayoutQualifier -> Bool Source # (/=) :: LayoutQualifier -> LayoutQualifier -> Bool Source # | |
Pretty LayoutQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> LayoutQualifier -> Doc Source # pPrint :: LayoutQualifier -> Doc Source # pPrintList :: PrettyLevel -> [LayoutQualifier] -> Doc Source # |
data LayoutQualifierId Source #
Constructors
LayoutQualId String (Maybe Expr) |
Instances
Show LayoutQualifierId Source # | |
Defined in Language.GLSL.Syntax | |
Eq LayoutQualifierId Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: LayoutQualifierId -> LayoutQualifierId -> Bool Source # (/=) :: LayoutQualifierId -> LayoutQualifierId -> Bool Source # | |
Pretty LayoutQualifierId Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> LayoutQualifierId -> Doc Source # pPrint :: LayoutQualifierId -> Doc Source # pPrintList :: PrettyLevel -> [LayoutQualifierId] -> Doc Source # |
Constructors
data StorageQualifier Source #
Constructors
Const | |
Attribute | |
Varying | |
CentroidVarying | |
In | |
Out | |
CentroidIn | |
CentroidOut | |
Uniform |
Instances
Show StorageQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq StorageQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: StorageQualifier -> StorageQualifier -> Bool Source # (/=) :: StorageQualifier -> StorageQualifier -> Bool Source # | |
Pretty StorageQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> StorageQualifier -> Doc Source # pPrint :: StorageQualifier -> Doc Source # pPrintList :: PrettyLevel -> [StorageQualifier] -> Doc Source # |
data TypeSpecifierNoPrecision Source #
Constructors
TypeSpecNoPrecision TypeSpecifierNonArray (Maybe (Maybe Expr)) |
Instances
Show TypeSpecifierNoPrecision Source # | |
Defined in Language.GLSL.Syntax | |
Eq TypeSpecifierNoPrecision Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: TypeSpecifierNoPrecision -> TypeSpecifierNoPrecision -> Bool Source # (/=) :: TypeSpecifierNoPrecision -> TypeSpecifierNoPrecision -> Bool Source # | |
Pretty TypeSpecifierNoPrecision Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> TypeSpecifierNoPrecision -> Doc Source # pPrint :: TypeSpecifierNoPrecision -> Doc Source # pPrintList :: PrettyLevel -> [TypeSpecifierNoPrecision] -> Doc Source # |
data TypeSpecifierNonArray Source #
Constructors
Instances
Show TypeSpecifierNonArray Source # | |
Defined in Language.GLSL.Syntax | |
Eq TypeSpecifierNonArray Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: TypeSpecifierNonArray -> TypeSpecifierNonArray -> Bool Source # (/=) :: TypeSpecifierNonArray -> TypeSpecifierNonArray -> Bool Source # | |
Pretty TypeSpecifierNonArray Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> TypeSpecifierNonArray -> Doc Source # pPrint :: TypeSpecifierNonArray -> Doc Source # pPrintList :: PrettyLevel -> [TypeSpecifierNonArray] -> Doc Source # |
data PrecisionQualifier Source #
Instances
Show PrecisionQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq PrecisionQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: PrecisionQualifier -> PrecisionQualifier -> Bool Source # (/=) :: PrecisionQualifier -> PrecisionQualifier -> Bool Source # | |
Pretty PrecisionQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> PrecisionQualifier -> Doc Source # pPrint :: PrecisionQualifier -> Doc Source # pPrintList :: PrettyLevel -> [PrecisionQualifier] -> Doc Source # |
Constructors
Field (Maybe TypeQualifier) TypeSpecifier [StructDeclarator] |
data StructDeclarator Source #
Constructors
StructDeclarator String (Maybe (Maybe Expr)) |
Instances
Show StructDeclarator Source # | |
Defined in Language.GLSL.Syntax | |
Eq StructDeclarator Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: StructDeclarator -> StructDeclarator -> Bool Source # (/=) :: StructDeclarator -> StructDeclarator -> Bool Source # | |
Pretty StructDeclarator Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> StructDeclarator -> Doc Source # pPrint :: StructDeclarator -> Doc Source # pPrintList :: PrettyLevel -> [StructDeclarator] -> Doc Source # |
Constructors
data IntConstantKind Source #
Constructors
Hexadecimal | |
Octal | |
Decimal |
Instances
Show IntConstantKind Source # | |
Defined in Language.GLSL.Syntax | |
Eq IntConstantKind Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: IntConstantKind -> IntConstantKind -> Bool Source # (/=) :: IntConstantKind -> IntConstantKind -> Bool Source # |
data Parameters Source #
Instances
Show Parameters Source # | |
Defined in Language.GLSL.Syntax | |
Eq Parameters Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: Parameters -> Parameters -> Bool Source # (/=) :: Parameters -> Parameters -> Bool Source # | |
Pretty Parameters Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> Parameters -> Doc Source # pPrint :: Parameters -> Doc Source # pPrintList :: PrettyLevel -> [Parameters] -> Doc Source # |
data ParameterQualifier Source #
Constructors
InParameter | |
OutParameter | |
InOutParameter |
Instances
Show ParameterQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq ParameterQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: ParameterQualifier -> ParameterQualifier -> Bool Source # (/=) :: ParameterQualifier -> ParameterQualifier -> Bool Source # | |
Pretty ParameterQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> ParameterQualifier -> Doc Source # pPrint :: ParameterQualifier -> Doc Source # pPrintList :: PrettyLevel -> [ParameterQualifier] -> Doc Source # |
data ParameterTypeQualifier Source #
Constructors
ConstParameter |
Instances
Show ParameterTypeQualifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq ParameterTypeQualifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: ParameterTypeQualifier -> ParameterTypeQualifier -> Bool Source # (/=) :: ParameterTypeQualifier -> ParameterTypeQualifier -> Bool Source # | |
Pretty ParameterTypeQualifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> ParameterTypeQualifier -> Doc Source # pPrint :: ParameterTypeQualifier -> Doc Source # pPrintList :: PrettyLevel -> [ParameterTypeQualifier] -> Doc Source # |
data FunctionIdentifier Source #
Constructors
FuncIdTypeSpec TypeSpecifier | |
FuncId String |
Instances
Show FunctionIdentifier Source # | |
Defined in Language.GLSL.Syntax | |
Eq FunctionIdentifier Source # | |
Defined in Language.GLSL.Syntax Methods (==) :: FunctionIdentifier -> FunctionIdentifier -> Bool Source # (/=) :: FunctionIdentifier -> FunctionIdentifier -> Bool Source # | |
Pretty FunctionIdentifier Source # | |
Defined in Language.GLSL.Pretty Methods pPrintPrec :: PrettyLevel -> Rational -> FunctionIdentifier -> Doc Source # pPrint :: FunctionIdentifier -> Doc Source # pPrintList :: PrettyLevel -> [FunctionIdentifier] -> Doc Source # |