Copyright | Copyright 2017 Awake Security |
---|---|
License | Apache-2.0 |
Maintainer | opensource@awakesecurity.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
A datatype representing the intermediate representation of a Ninja file after compilation.
Since: 0.1.0
- data Ninja
- makeNinja :: Ninja
- ninjaMeta :: Lens' Ninja Meta
- ninjaBuilds :: Lens' Ninja (HashSet Build)
- ninjaPhonys :: Lens' Ninja (HashMap Target (HashSet Target))
- ninjaDefaults :: Lens' Ninja (HashSet Target)
- ninjaPools :: Lens' Ninja (HashSet Pool)
- type NinjaConstraint c = (c Text, c Version, c (HashMap Target (HashSet Target)), c (HashSet Build), c (HashSet Target), c (HashSet Pool))
Ninja
A parsed and normalized Ninja file.
Since: 0.1.0
Eq Ninja Source # | |
Show Ninja Source # | |
Generic Ninja Source # | |
Hashable Ninja Source # | Default Since: 0.1.0 |
ToJSON Ninja Source # | Converts to Since: 0.1.0 |
FromJSON Ninja Source # | Inverse of the Since: 0.1.0 |
NFData Ninja Source # | Default Since: 0.1.0 |
(Monad m, NinjaConstraint (Serial m)) => Serial m Ninja Source # | Default Since: 0.1.0 |
(Monad m, NinjaConstraint (CoSerial m)) => CoSerial m Ninja Source # | Default Since: 0.1.0 |
type Rep Ninja Source # | |
ninjaMeta :: Lens' Ninja Meta Source #
Metadata, which includes top-level variables like builddir
.
Since: 0.1.0
ninjaPhonys :: Lens' Ninja (HashMap Target (HashSet Target)) Source #
Phony targets, as documented here.
Since: 0.1.0