Portability | ghc |
---|---|
Stability | experimental |
Maintainer | benedikt.huber@gmail.com |
source position and unqiue name
- data NodeInfo
- internalNode :: NodeInfo
- mkNodeInfoOnlyPos :: Position -> NodeInfo
- mkNodeInfo :: Position -> Name -> NodeInfo
- class CNode a where
- fileOfNode :: CNode a => a -> FilePath
- posOfNode :: NodeInfo -> Position
- nameOfNode :: NodeInfo -> Maybe Name
- eqByName :: CNode a => a -> a -> Bool
Documentation
Parsed entity attribute
mkNodeInfoOnlyPos :: Position -> NodeInfoSource
Given only a source position, create a new attribute identifier
mkNodeInfo :: Position -> Name -> NodeInfoSource
Given a source position and a unique name, create a new attribute identifier
a class for convenient access to the attributes of an attributed object
fileOfNode :: CNode a => a -> FilePathSource
nameOfNode :: NodeInfo -> Maybe NameSource