Adobe Source Libraries 1.49.0
A collection of C++ libraries.
|
Callback class for the Adam parser. More...
#include <adobe/adam_parser.hpp>
Classes | |
class | relation_t |
Struct containing details of a relation expression for client callbacks from the Adam parser. More... |
Public Types | |
enum | cell_type_t { input_k , output_k , constant_k , logic_k , invariant_k } |
using | add_cell_proc_t |
using | add_relation_proc_t |
using | add_interface_proc_t |
using | add_external_proc_t |
Public Attributes | |
add_cell_proc_t | add_cell_proc_m |
add_relation_proc_t | add_relation_proc_m |
add_interface_proc_t | add_interface_proc_m |
add_external_proc_t | add_external_proc_m |
Client-defined callback function used by the Adam parser to communicate with the client code. The Adam parser will discover cell declarations and will signal callbacks herein of those declarations.
Definition at line 131 of file adam_parser.hpp.
using add_cell_proc_t |
A callback function signature for a ConvertibleToFunction that needs to be supplied. During the parsing of an Adam definition, the client will receive cell declaration notifications through this callback.
type | cell type declared in the defintion. |
cell_name | name of the cell specified. |
position | position in the parse of the declaration. |
expr_or_init | array of tokens representing one of several things. |
brief | trailing comment to this cell. |
detailed | leading comment to this cell. |
Definition at line 148 of file adam_parser.hpp.
using add_relation_proc_t |
A callback function signature for a ConvertibleToFunction that needs to be supplied. During the parsing of an Adam definition, the client will receive relation declaration notifications through this callback.
position | position in the parse of the relation set declaration |
conditional | tokenized expression array representing the optional conditional enabling this relation set. |
first | first relation in the set. |
last | one-past-the-last relation in the set. |
brief | trailing comment to relation set. |
detailed | leading comment to relation set. |
Definition at line 152 of file adam_parser.hpp.
using add_interface_proc_t |
A callback function signature for a ConvertibleToFunction that needs to be supplied. During the parsing of an Adam definition, the client will receive interface cell declaration notifications through this callback.
cell_name | name of the cell specified. |
linked | specifies if the output cell is back-linked to the input cell. |
position1 | position1 in the parse of the declaration. |
initializer | array of tokens representing the input cell initializer. |
position2 | position2 in the parse of the declaration. |
expression | array of tokens representing the output cell relation expression. |
brief | trailing comment to this cell. |
detailed | leading comment to this cell. |
Definition at line 157 of file adam_parser.hpp.
using add_external_proc_t |
Definition at line 162 of file adam_parser.hpp.
enum cell_type_t |
Enumeration type denoting the kind of cell found in the parse.
Enumerator | |
---|---|
input_k | Specifies a linked input cell for the |
output_k | Specifies an output cell for the |
constant_k | Specifies a constant cell for the |
logic_k | Specifies a logic cell for the |
invariant_k | Specifies an invariant cell for the |
Definition at line 132 of file adam_parser.hpp.
add_cell_proc_t add_cell_proc_m |
Definition at line 166 of file adam_parser.hpp.
add_relation_proc_t add_relation_proc_m |
Definition at line 167 of file adam_parser.hpp.
add_interface_proc_t add_interface_proc_m |
Definition at line 168 of file adam_parser.hpp.
add_external_proc_t add_external_proc_m |
Definition at line 169 of file adam_parser.hpp.