JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.0p0 Hot Tips | CONFIDENTIAL | CodeSecure Inc |
These are language-independent base enums for ASTs.
Some of these enums describe the values that might be stored in a specific AST field. The following table decribes how the various API implementation handles such cases.
| API implementation | Handling for enum-valued AST fields |
|---|---|
| C++ | The value is stored in a cs::ast_field of type cs::ast_field_type::ENUMERATION. Get its symbolic name with cs::ast_field::as_enum_value_string; its numerical value with cs::ast_field::as_enum_value_int32. |
| Python | The value is stored in a cs.ast_field of type cs.ast_field_type.ENUMERATION. Get its symbolic name with cs.ast_field.as_enum_value_string; its numerical value with cs.ast_field.as_enum_value_int32. |
| C | A cs_ast_enum_value object encapsulates the enum value and its corresponding string representation, within a cs_ast_field of type csft_enumeration |