loadModules
=> fetchSource :: Opt -> IORef Done -> [FilePath] -> Maybe (Module,SrcLoc) -> IO Module
=> parseHsSource :: Opt -> FilePath -> LBS.ByteString -> IO (HsModule,LBS.ByteString)
=> runParserWithMode :: ParseMode -> P a -> String -> ([Warning],ParseResult a)
=> parse :: P HsModule
このparseという関数は src/FrontEnd/HsParser.y で定義されていて、
blog comments powered by