Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- parseShader :: Annot a => Text -> Either String (GLSL a)
- parseGLSL :: Annot a => Parser (GLSL a)
- parseVersion :: Parser Version
- parseTopDecl :: Annot a => Parser (TopDecl a)
- parseProcName :: Parser ProcName
- parseLayoutSpec :: Parser LayoutSpec
- parseParamDecl :: Parser ParamDecl
- parseParamKind :: Parser ParamKind
- parseLocalDecl :: Parser LocalDecl
- parseGlobalDecl :: Parser GlobalDecl
- parseGDeclKind :: Parser GDeclKind
- parseType :: Parser Type
- parseNameId :: Parser NameId
- parseName :: Parser Name
- parseNamespace :: Parser Namespace
- parseFunName :: Parser FunName
- parseSwizzle :: Parser Swizzle
- parseVecIndex :: Parser Swizzle
- parseNameExpr :: Parser NameExpr
- parseExprAtom :: Parser ExprAtom
- parseExpr :: Parser Expr
- parseBinaryOp :: Parser BinaryOp
- parseUnaryOp :: Parser UnaryOp
- parseStmtAnnot :: Annot a => Parser (StmtAnnot a)
- parseStmt :: Annot a => Parser (Stmt a)
- parseEmit :: Parser Emit
- parseTest :: Show a => Parser a -> Text -> IO ()
- t :: Show a => Parser a -> String -> IO ()
Documentation
parseVersion :: Parser Version Source #
Parse Version
parseProcName :: Parser ProcName Source #
Parse ProcName
parseLayoutSpec :: Parser LayoutSpec Source #
Parse LayoutSpec
parseParamDecl :: Parser ParamDecl Source #
Parse ParamDecl
parseParamKind :: Parser ParamKind Source #
Parse ParamKind
parseLocalDecl :: Parser LocalDecl Source #
Parse LocalDecl
parseGlobalDecl :: Parser GlobalDecl Source #
Parse GlobalDecl
parseGDeclKind :: Parser GDeclKind Source #
Parse GDeclKind
parseNameId :: Parser NameId Source #
Parse NameId
parseNamespace :: Parser Namespace Source #
Parse Namespace
parseFunName :: Parser FunName Source #
Parse FunName
parseSwizzle :: Parser Swizzle Source #
Parse Swizzle
parseVecIndex :: Parser Swizzle Source #
Parse VecIndex (Swizzle)
parseNameExpr :: Parser NameExpr Source #
Parse NameExpr
parseExprAtom :: Parser ExprAtom Source #
Parse ExprAtom
parseBinaryOp :: Parser BinaryOp Source #
Parse BinaryOp
parseUnaryOp :: Parser UnaryOp Source #
Parse UnaryOp