ModuleBNFC-2.9.6.3Haskell2010
BNFC.TypeChecker
Type checker for defined syntax constructors define f xs = e.
Synopsis
- value runTypeChecker
- value checkDefinitions
- value checkDefinition'
- value buildSignature
- value buildContext
- value ctxTokens
- value isToken
- data ListConstructors
- PackageBNFC-2.9.6.3
- Exports8
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTypeChecker.hs
Type checker entry point
Entry point.
Backdoor for rechecking defined syntax constructors for list types
value
checkDefinition' Create context containing the types of all labels, computed from the rules.
Fail if a label is used at different types.
User-defined token types.