Copyright | (c) roki 2019 |
---|---|
License | MIT |
Maintainer | falgon53@yahoo.co.jp |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
The function declaration
Synopsis
- function :: (Show i, Read i, Integral i, Bits i) => StorageClass i -> Maybe (TokenLC i) -> [TokenLC i] -> ATree i -> ConstructionData i -> ASTConstruction i
Documentation
function :: (Show i, Read i, Integral i, Bits i) => StorageClass i -> Maybe (TokenLC i) -> [TokenLC i] -> ATree i -> ConstructionData i -> ASTConstruction i Source #
\[ \begin{array}{ccc} \text{function}&=&\text{pre-type}\ \text{declaration}\ \text{"("}\ \text{params?}\ \text{")"}\ \left(\text{"\{"}\ \text{stmt*}\ \text{"\}"}\ \mid\ \text{";"}\right)\\ \text{params}&=&\text{params}\left(\text{","}\ \text{param}\right)\text{*}\\ \text{param}&=&\text{pre-type}\ \text{declaration}\ \text{array-decl-suffix} \end{array} \]