Copyright | (c) roki 2019 |
---|---|
License | MIT |
Maintainer | falgon53@yahoo.co.jp |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
The Data type of variables and its utilities used in parsing
Documentation
class ManagedScope a where Source #
Type classes common to concepts managed in scope
lookup :: Text -> Map Text a -> Maybe a Source #
fallBack :: Map Text a -> Map Text a -> Map Text a Source #
Organize a
list state after scoping.
initial :: Map Text a Source #
Helper function representing an empty something managed by the scope
Instances
ManagedScope (LVar a) Source # | |
ManagedScope (GVar i) Source # | |
ManagedScope (Typedef i) Source # | |
ManagedScope (Tag i) Source # | |
ManagedScope (Function i) Source # | |
ManagedScope (Enumerator i) Source # | |
Defined in Htcc.Parser.ConstructionData.Scope.Enumerator lookup :: Text -> Map Text (Enumerator i) -> Maybe (Enumerator i) Source # fallBack :: Map Text (Enumerator i) -> Map Text (Enumerator i) -> Map Text (Enumerator i) Source # |