hs-java-0.4.1: Java .class files assembler/disassembler

Safe HaskellNone
LanguageHaskell98

Java.ClassPath.Types

Synopsis

Documentation

data Tree a Source #

Directories tree

Constructors

Directory FilePath [Tree a] 
File a 
Instances
Eq a => Eq (Tree a) Source # 
Instance details

Defined in Java.ClassPath.Types

Methods

(==) :: Tree a -> Tree a -> Bool #

(/=) :: Tree a -> Tree a -> Bool #

Show a => Show (Tree a) Source # 
Instance details

Defined in Java.ClassPath.Types

Methods

showsPrec :: Int -> Tree a -> ShowS #

show :: Tree a -> String #

showList :: [Tree a] -> ShowS #

data CPEntry Source #

ClassPath entry

Constructors

NotLoaded FilePath

Not loaded .class file

Loaded FilePath (Class Direct)

Class loaded from .class file

NotLoadedJAR FilePath FilePath

Not loaded .jar file

LoadedJAR FilePath (Class Direct)

Class loaded from .jar file

Instances
Eq CPEntry Source # 
Instance details

Defined in Java.ClassPath.Types

Methods

(==) :: CPEntry -> CPEntry -> Bool #

(/=) :: CPEntry -> CPEntry -> Bool #

Show CPEntry Source # 
Instance details

Defined in Java.ClassPath.Types

type ClassPath a = StateT [Tree CPEntry] IO a Source #

ClassPath monad