Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- printShader :: Annot a => GLSL a -> Text
- ppGLSL :: Annot a => GLSL a -> Builder
- ppVersion :: Version -> Builder
- ppTopDecl :: Annot a => TopDecl a -> Builder
- ppProcName :: ProcName -> Builder
- ppLayoutSpec :: LayoutSpec -> Builder
- ppParamDecl :: ParamDecl -> Builder
- ppParamKind :: ParamKind -> Builder
- ppLocalDecl :: LocalDecl -> Builder
- ppGlobalDecl :: GlobalDecl -> Builder
- ppGDeclKind :: GDeclKind -> Builder
- ppType :: Type -> Builder
- ppNameId :: NameId -> Builder
- ppName :: Name -> Builder
- ppNamespace :: Namespace -> Builder
- ppFunName :: FunName -> Builder
- ppSwizzle :: Swizzle -> Builder
- ppVecIndex :: Swizzle -> Builder
- ppNameExpr :: NameExpr -> Builder
- ppExprAtom :: ExprAtom -> Builder
- ppExpr :: Expr -> Builder
- ppBinaryOp :: BinaryOp -> Builder
- ppUnaryOp :: UnaryOp -> Builder
- ppStmtAnnot :: Annot a => StmtAnnot a -> Builder
- ppStmt :: Annot a => Stmt a -> Builder
- ppEmit :: Emit -> Builder
- ppInt :: Int -> Builder
- ppFloat :: Float -> Builder
- ppL :: (a -> Builder) -> [a] -> Builder
- ppS :: Builder -> (a -> Builder) -> [a] -> Builder
- pp :: (a -> Builder) -> a -> String
- ppl :: (a -> Builder) -> [a] -> String
- pps :: Builder -> (a -> Builder) -> [a] -> String
Documentation
ppProcName :: ProcName -> Builder Source #
Pretty-print ProcName
ppLayoutSpec :: LayoutSpec -> Builder Source #
Pretty-print LayoutSpec
ppParamDecl :: ParamDecl -> Builder Source #
Pretty-print ParamDecl
ppParamKind :: ParamKind -> Builder Source #
Pretty-print ParamKind
ppLocalDecl :: LocalDecl -> Builder Source #
Pretty-print LocalDecl
ppGlobalDecl :: GlobalDecl -> Builder Source #
Pretty-print GlobalDecl
ppGDeclKind :: GDeclKind -> Builder Source #
Pretty-print GDeclKind
ppNamespace :: Namespace -> Builder Source #
Pretty-print Namespace
ppVecIndex :: Swizzle -> Builder Source #
Pretty-print VecIndex (Swizzle)
ppNameExpr :: NameExpr -> Builder Source #
Pretty-print NameExpr
ppExprAtom :: ExprAtom -> Builder Source #
Pretty-print ExprAtom
ppBinaryOp :: BinaryOp -> Builder Source #
Pretty-print BinaryOp