hasktags-0.72.0: Produces ctags "tags" and etags "TAGS" files for Haskell programs
Safe HaskellNone
LanguageHaskell2010

Hasktags

Synopsis

Documentation

data FileData Source #

Instances

Instances details
Data FileData Source # 
Instance details

Defined in Tags

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FileData -> c FileData

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FileData

toConstr :: FileData -> Constr

dataTypeOf :: FileData -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FileData)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FileData)

gmapT :: (forall b. Data b => b -> b) -> FileData -> FileData

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FileData -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FileData -> r

gmapQ :: (forall d. Data d => d -> u) -> FileData -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> FileData -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FileData -> m FileData

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FileData -> m FileData

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FileData -> m FileData

Show FileData Source # 
Instance details

Defined in Tags

Methods

showsPrec :: Int -> FileData -> ShowS

show :: FileData -> String

showList :: [FileData] -> ShowS

generate :: Mode -> [FilePath] -> IO () Source #

findThings :: FileName -> IO FileData Source #

findThingsInBS :: String -> ByteString -> FileData Source #

data Mode Source #

Constructors

Mode 

Fields

Instances

Instances details
Show Mode Source # 
Instance details

Defined in Hasktags

Methods

showsPrec :: Int -> Mode -> ShowS

show :: Mode -> String

showList :: [Mode] -> ShowS

data TagsFile Source #

Constructors

TagsFile 

Fields

Instances

Instances details
Show TagsFile Source # 
Instance details

Defined in Hasktags

Methods

showsPrec :: Int -> TagsFile -> ShowS

show :: TagsFile -> String

showList :: [TagsFile] -> ShowS

IsString TagsFile Source # 
Instance details

Defined in Hasktags

Methods

fromString :: String -> TagsFile

data Tags Source #

Constructors

Ctags 
Etags 
Both 

Instances

Instances details
Show Tags Source # 
Instance details

Defined in Hasktags

Methods

showsPrec :: Int -> Tags -> ShowS

show :: Tags -> String

showList :: [Tags] -> ShowS

getOutFile :: String -> IOMode -> IO Handle Source #

getOutFile scans the modes searching for output redirection if not found, open the file with name passed as parameter. Handle special file -, which is stdout

dirToFiles :: Bool -> [String] -> FilePath -> IO [FilePath] Source #