tokstyle-0.0.9: TokTok C code style checker
Safe HaskellNone
LanguageHaskell2010

Tokstyle.C.TraverseAst

Documentation

class TraverseAst a where Source #

Methods

traverseAst :: Applicative f => AstActions f -> a -> f () Source #

Instances

Instances details
TraverseAst IdentDecl Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> IdentDecl -> f () Source #

TraverseAst GlobalDecls Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

TraverseAst CDecl Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CDecl -> f () Source #

TraverseAst CStat Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CStat -> f () Source #

TraverseAst CBlockItem Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CBlockItem -> f () Source #

TraverseAst CInit Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CInit -> f () Source #

TraverseAst CExpr Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CExpr -> f () Source #

TraverseAst CConst Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> CConst -> f () Source #

TraverseAst [CDecl] Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> [CDecl] -> f () Source #

TraverseAst [CStat] Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> [CStat] -> f () Source #

TraverseAst [CBlockItem] Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> [CBlockItem] -> f () Source #

TraverseAst [CExpr] Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> [CExpr] -> f () Source #

TraverseAst a => TraverseAst (Maybe a) Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> Maybe a -> f () Source #

(TraverseAst a, TraverseAst b) => TraverseAst (Either a b) Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

Methods

traverseAst :: Applicative f => AstActions f -> Either a b -> f () Source #

TraverseAst (FilePath, GlobalDecls) Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

TraverseAst (Map Ident IdentDecl) Source # 
Instance details

Defined in Tokstyle.C.TraverseAst

data AstActions f Source #

Constructors

AstActions 

Fields