tokstyle
Safe HaskellNone
LanguageHaskell2010

Tokstyle.Cimple.Analysis.FunctionPointers

Description

The functions a call through a function pointer field may reach.

Synopsis

Documentation

data Targets Source #

Constructors

Only (Set Text)

One of these functions, or null.

Anything (Set Text)

One of these, or anything a client stores.

Instances

Instances details
Semigroup Targets Source # 
Instance details

Defined in Tokstyle.Cimple.Analysis.FunctionPointers

Show Targets Source # 
Instance details

Defined in Tokstyle.Cimple.Analysis.FunctionPointers

Eq Targets Source # 
Instance details

Defined in Tokstyle.Cimple.Analysis.FunctionPointers

Methods

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

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

type FieldKey = (Text, Text) Source #

A struct and one of its fields.

fieldTargets :: [(FilePath, [Node (Lexeme Text)])] -> FieldTargets Source #

The functions code stores in each field, also via other fields and parameters. Fields clients can set, or that get something we can't follow, may hold anything.