language-c-0.3.2.1: Analysis and generation of C code

Portabilityghc
Stabilityexperimental
Maintainerbenedikt.huber@gmail.com
Safe HaskellNone

Language.C.Data.Node

Description

source position and unqiue name

Synopsis

Documentation

data NodeInfo

Parsed entity attribute

Instances

Eq NodeInfo 
Data NodeInfo 
Ord NodeInfo 
Read NodeInfo 
Show NodeInfo 
Typeable NodeInfo 
Pos NodeInfo 
CNode NodeInfo 

mkNodeInfoOnlyPos :: Position -> NodeInfo

Given only a source position, create a new attribute identifier

mkNodeInfo :: Position -> Name -> NodeInfo

Given a source position and a unique name, create a new attribute identifier

fileOfNode :: CNode a => a -> FilePath

eqByName :: CNode a => a -> a -> Bool

equality by name