Declor
Fixtype of declarators [C:6.7.6] [C:A.2.2].
This is a product type introduced by fty::defprod.
Fields
- pointers — type-qual-list-list
- decl — dirdeclor
This corresponds to declarator in the grammar in [C].
The optional pointer that precedes the direct-declarator
is a sequence of stars each optionally followed by
an optional sequence of type qualifiers.
We model this as a list of lists of type qualifiers:
the outer list corresponds to each star,
and each inner list corresponds to the type qualifiers
that immediately follow the star.
Subtopics
- Declorp
- Recognizer for declor structures.
- Declor-equiv
- Basic equivalence relation for declor structures.
- Make-declor
- Basic constructor macro for declor structures.
- Declor->pointers
- Get the pointers field from a declor.
- Change-declor
- Modifying constructor for declor structures.
- Declor->decl
- Get the decl field from a declor.
- Declor-fix
- Fixing function for declor structures.
- Declor-count
- Measure for recurring over declor structures.