Home
last modified time | relevance | path

Searched refs:CFunDef (Results 1 – 14 of 14) sorted by relevance

/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/Parser/
H A DParser.y317 function_definition :: { CFunDef }
320 {% leaveScope >> (withNodeInfo $1 $ CFunDef [] $1 [] $2) }
326 {% leaveScope >> (withNodeInfo $1 $ CFunDef $1 $2 [] $3) }
329 {% leaveScope >> (withNodeInfo $1 $ CFunDef $1 $2 [] $3) }
343 {% withNodeInfo $1 $ CFunDef [] $1 (reverse $2) $3 }
349 {% withNodeInfo $1 $ CFunDef $1 $2 (reverse $3) $4 }
352 {% withNodeInfo $1 $ CFunDef $1 $2 (reverse $3) $4 }
355 {% withNodeInfo $1 $ CFunDef (reverse $1) $2 (reverse $3) $4 }
436 nested_function_definition :: { CFunDef }
439 {% leaveScope >> (withNodeInfo $1 $ CFunDef $1 $2 [] $3) }
[all …]
/dports/devel/hs-threadscope/threadscope-0.2.14/_cabal_deps/gtk2hs-buildtools-0.13.8.0/c2hs/c/
H A DCAST.hs43 module CAST (CHeader(..), CExtDecl(..), CFunDef(..), CStat(..), CBlockItem(..),
70 | CFDefExt CFunDef
95 data CFunDef = CFunDef [CDeclSpec] -- type specifier and qualifier type
101 instance Pos CFunDef where
102 posOf (CFunDef _ _ _ _ at) = posOf at
104 instance Eq CFunDef where
105 CFunDef _ _ _ _ at1 == CFunDef _ _ _ _ at2 = at1 == at2 function
192 | CNestedFunDef CFunDef -- GNU C has nested functions
H A DCNames.hs94 naCExtDecl (CFDefExt (CFunDef specs declr _ _ at)) =
H A DCParser.y109 import CAST (CHeader(..), CExtDecl(..), CFunDef(..), CStat(..),
/dports/x11/conlecterm/conlecterm-1.4.3.0/_cabal_deps/gtk2hs-buildtools-0.13.8.0/c2hs/c/
H A DCAST.hs43 module CAST (CHeader(..), CExtDecl(..), CFunDef(..), CStat(..), CBlockItem(..),
70 | CFDefExt CFunDef
95 data CFunDef = CFunDef [CDeclSpec] -- type specifier and qualifier function
101 instance Pos CFunDef where
102 posOf (CFunDef _ _ _ _ at) = posOf at
104 instance Eq CFunDef where
105 CFunDef _ _ _ _ at1 == CFunDef _ _ _ _ at2 = at1 == at2 function
192 | CNestedFunDef CFunDef -- GNU C has nested functions
H A DCNames.hs94 naCExtDecl (CFDefExt (CFunDef specs declr _ _ at)) =
H A DCParser.y109 import CAST (CHeader(..), CExtDecl(..), CFunDef(..), CStat(..),
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/Syntax/
H A DAST.hs31 CFunDef, CDecl, CStructUnion, CEnum,
105 type CFunDef = CFunctionDef NodeInfo type
107 = CFunDef constructor
845 nodeInfo (CFunDef _ _ _ _ n) = nodeInfo n
850 fmap _f (CFunDef a1 a2 a3 a4 a5)
851 = CFunDef (fmap (fmap _f) a1) (fmap _f a2) (fmap (fmap _f) a3)
856 annotation (CFunDef _ _ _ _ n) = n
857 amap f (CFunDef a_1 a_2 a_3 a_4 a_5)
858 = CFunDef a_1 a_2 a_3 a_4 (f a_5)
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/c2hs-0.28.7/src/C2HS/C/
H A DNames.hs90 naCExtDecl (CFDefExt (CFunDef specs declr _ _ at)) =
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/c2hs-0.28.7/src/C2HS/Gen/
H A DWrapper.hs76 wrapfn = CFunDef fspecs wrapdecl [] body undefNode
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/dist/build/Language/C/Parser/
H A DParser.hs128 happyIn10 :: (CFunDef) -> (HappyAbsSyn )
131 happyOut10 :: (HappyAbsSyn ) -> (CFunDef)
188 happyIn20 :: (CFunDef) -> (HappyAbsSyn )
191 happyOut20 :: (HappyAbsSyn ) -> (CFunDef)
1523 ( leaveScope >> (withNodeInfo happy_var_1 $ CFunDef [] happy_var_1 [] happy_var_2))}})
1547 ( leaveScope >> (withNodeInfo happy_var_1 $ CFunDef happy_var_1 happy_var_2 [] happy_var_3))}}})
1559 ( leaveScope >> (withNodeInfo happy_var_1 $ CFunDef happy_var_1 happy_var_2 [] happy_var_3))}}})
1609 ( withNodeInfo happy_var_1 $ CFunDef [] happy_var_1 (reverse happy_var_2) happy_var_3)}}})
1637 …( withNodeInfo happy_var_1 $ CFunDef happy_var_1 happy_var_2 (reverse happy_var_3) happy_var_4)}}}…
1922 ( leaveScope >> (withNodeInfo happy_var_1 $ CFunDef happy_var_1 happy_var_2 [] happy_var_3))}}})
[all …]
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/
H A DPretty.hs104 instance Pretty CFunDef where
105 pretty (CFunDef declspecs declr decls stat _) = -- Example:
/dports/games/hs-scroll/scroll-1.20180421/_cabal_deps/language-c-0.8.3/src/Language/C/Analysis/
H A DExport.hs70 exportFunDef d@(FunDef _ stmt _) = CFunDef cDeclSpecs cDecl oldStyleParams stmt undefNode
H A DAstAnalysis.hs87 analyseFunDef :: (MonadTrav m) => CFunDef -> m ()
88 analyseFunDef (CFunDef declspecs declr oldstyle_decls stmt node_info) = do