uuagc

Safe Haskell | Safe-Infered

Parser

# Documentation

type AGParser = AnaParser Input Pair Token Pos

pIdentifier, pIdentifierU :: AGParser Identifier

parseAG :: Options -> [FilePath] -> String -> IO (AG, [Message Token Pos])

parseAGI :: Options -> [FilePath] -> String -> IO (AG, Maybe String)

depsAG :: Options -> [FilePath] -> String -> IO ([String], [Message Token Pos])

parseFile :: Bool -> Options -> [FilePath] -> String -> IO ([Elem], [String], [String], Maybe String, [Message Token Pos])

resolveFile :: [FilePath] -> FilePath -> IO FilePath

pathSeparator :: [Char]

evalStepsMessages :: (Eq s, Show s, Show p) => Steps a s p -> (a, [Message s p])

loopp :: (a -> Bool) -> (a -> IO a) -> a -> IO a

codescrapL :: Pos -> [Char] -> (Token, Pos, [Char])

scrapL :: Column -> Pos -> [Char] -> (Pos, [Char], [Char])

pNontSet :: AnaParser Input Pair Token Pos NontSet

pNames :: AGParser [Identifier]

pCodeBlock :: AGParser (String, Pos)

pOptClassContext :: AGParser ClassContext

pClassContext :: AGParser ClassContext

pOptQuantifiers :: AGParser [String]

pTypeNt :: AGParser Type

pTypeHaskellAnyAsString :: AGParser String

pTypeEncapsulated :: AGParser Type

pTypePrimitive :: AGParser Type

pType :: AGParser Type

pTypeOrSelf :: AGParser Type

pIdentifiers :: AGParser [Identifier]

pAttrIdentifier :: AGParser Identifier

pAttrIdentifiers :: AGParser [Identifier]

pUse :: AGParser (String, String, String)

mklower :: String -> String

pSimpleConstructorSet :: AGParser ConstructorSet

pConstructorSet :: AGParser ConstructorSet

pFieldIdentifier :: AGParser Identifier

pAugmentToken :: AGParser ()

pAttr :: AnaParser Input Pair Token Pos (Identifier, Identifier)

pAttrOrIdent :: AnaParser Input Pair Token Pos Occurrence

nl2sp :: Char -> Char

pLocType :: AGParser (Type, Pos)

pVar :: AGParser (Identifier -> (Identifier, Identifier))

pAssign :: AGParser Bool

pRuleSym :: AGParser (Bool, Pos, Bool, Bool)

pPattern :: AGParser (a -> (Identifier, Identifier)) -> AGParser (a -> Pattern)

pCostSym' :: IsParser p s => Int# -> s -> p s

pCodescrap' :: AGParser String

pCodescrap :: AGParser (String, Pos)

pSEM, pINTSET, pSmallerEqual, pOPTPRAGMAS, pIMPORTS, pSELF, pAS, pMERGE, pSEMPRAGMA, pAROUND, pPlus, pAUGMENT, pSYN, pINH, pUNIQUEREF, pATTACH, pMODULE, pINTMAP, pMAP, pEITHER, pMAYBE, pPRAGMA, pNOCATAS, pWRAPPER, pSmaller, pStar, pAt, pEXT, pUScore, pDot, pArrow, pDoubleArrow, pIntersect, pMinus, pDERIVING, pSET, pINST, pLHS, pColon, pBar, pEXTENDS, pTilde, pColonEquals, pEquals, pTYPE, pINCLUDE, pLOC, pUSE, pDATA, pATTR :: AGParser Pos

pCHN :: AnaParser Input Pair Token Pos Pos

pDoubleColon :: AnaParser Input Pair Token Pos Pos

pTOPLEVEL :: AnaParser Input Pair Token Pos Pos