Const::Introspect::C::Constant - Class representing a C/C++ constant
This class represents a single C/C++ constant. See Const::Introspect::C for the interface for getting a list of these constants from a header file.
The Const::Introspect::C instance.
The name of the constant.
The value of the constant as seen in the header file. This may be an expression and thus unusable as a constant value, but it may also be useful for diagnostics.
If the raw value is unknown this will be
The value of the constant.
The representation may depend on the
other type (typically for code macros),
there is no sensible value,
and this will be
The constant type.
This will be one of:
Graham Ollis <email@example.com>
This software is copyright (c) 2020 by Graham Ollis.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.