Copyright | (c) roki 2019 |
---|---|
License | MIT |
Maintainer | falgon53@yahoo.co.jp |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
The C languge parser and AST constructor
Synopsis
- type Assign i = [TokenLC i] -> ATree i -> ConstructionData i -> ASTConstruction i
- validAssign :: Eq i => TokenLC i -> ATree i -> Either (ASTError i) (ATree i)
- varInit :: (Read i, Show i, Integral i, Bits i) => Assign i -> StorageClass i -> TokenLC i -> [TokenLC i] -> ConstructionData i -> ASTConstruction i
Documentation
type Assign i = [TokenLC i] -> ATree i -> ConstructionData i -> ASTConstruction i Source #
needs parameters for Assign
validAssign :: Eq i => TokenLC i -> ATree i -> Either (ASTError i) (ATree i) Source #
Check for valid substitutions
varInit :: (Read i, Show i, Integral i, Bits i) => Assign i -> StorageClass i -> TokenLC i -> [TokenLC i] -> ConstructionData i -> ASTConstruction i Source #
Initializing local variables