package cudf
Install
dune-project
Dependency
Authors
Maintainers
Sources
md5=aedc2a222085bd8284bf2b8f91bbeae6
sha512=511ab5f6fdb5ee74cbdc594608c58623e0a998d5bed32ec97ed83a4fb6932702af67f7c4d09c0448f86ee17d65bc14113d77e6f2678b278f92280779b8a41ed8
doc/cudf/Cudf_types_pp/index.html
Module Cudf_types_ppSource
CUDF type library: parsing and pretty printing
Implement parsing and pretty printing of CUDF types (see CUDF spec. §2.2.2).
For the actual CUDF type definition see Cudf_types.
For pretty printing of macro-components see Cudf_printer.
Errors
Parsers
Public types
All parsing function are granted to raise only Cudf_types_pp.Type_error, lower lever exception (e.g. syntax errors) are wrapped into it
Parsing of other CUDF entities
Mostly for application relying on CUDF conventions
Parse a quoted string, enclosed by double quotes as it happens within the "property" property of preamble stanzas. The only place where such strings are allowed in CUDF are within type declarations; see Cudf_types_pp.parse_typedecl.
Parse a CUDF type expression.
At present it can be either a typename or an enum with its values.
Parse the enum value corresponding to the "keep" core property of package stanzas. Shorthand to avoid parsing the corresponding `Enum and then casting to Cudf_types.enum_keep
generic, type-based parsing