uuagc-bootstrap

Parser

# Documentation

type AGParser = AnaParser Input Pair Token Pos

pIdentifierU :: AGParser Identifier

pIdentifier :: 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

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

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

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 ()

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)

pCodescrap' :: AGParser String

pCodescrap :: AGParser (String, Pos)

pATTR :: AGParser Pos

pDATA :: AGParser Pos

pUSE :: AGParser Pos

pLOC :: AGParser Pos

pINCLUDE :: AGParser Pos

pTYPE :: AGParser Pos

pEquals :: AGParser Pos

pColonEquals :: AGParser Pos

pTilde :: AGParser Pos

pEXTENDS :: AGParser Pos

pBar :: AGParser Pos

pColon :: AGParser Pos

pLHS :: AGParser Pos

pINST :: AGParser Pos

pSET :: AGParser Pos

pDERIVING :: AGParser Pos

pMinus :: AGParser Pos

pIntersect :: AGParser Pos

pDoubleArrow :: AGParser Pos

pArrow :: AGParser Pos

pDot :: AGParser Pos

pUScore :: AGParser Pos

pEXT :: AGParser Pos

pAt :: AGParser Pos

pStar :: AGParser Pos

pSmaller :: AGParser Pos

pWRAPPER :: AGParser Pos

pNOCATAS :: AGParser Pos

pPRAGMA :: AGParser Pos

pMAYBE :: AGParser Pos

pEITHER :: AGParser Pos

pMAP :: AGParser Pos

pINTMAP :: AGParser Pos

pMODULE :: AGParser Pos

pATTACH :: AGParser Pos

pUNIQUEREF :: AGParser Pos

pINH :: AGParser Pos

pSYN :: AGParser Pos

pAUGMENT :: AGParser Pos

pPlus :: AGParser Pos

pAROUND :: AGParser Pos

pSEMPRAGMA :: AGParser Pos

pMERGE :: AGParser Pos

pAS :: AGParser Pos

pSELF :: AGParser Pos

pIMPORTS :: AGParser Pos

pOPTPRAGMAS :: AGParser Pos

pSmallerEqual :: AGParser Pos

pINTSET :: AGParser Pos

pSEM :: AGParser Pos