|Did you know ...||Search Documentation:|
|Supplying Your Own Host Type Message Sequences|
You can extend the parser to support your own compound host types.
These are treated as first class entities by the parser. That is they
can be used either by themselves, or in
clauses just as any other host type would be. You do this by hooking
into the parser and adding your own
productions. Your hook eventually calls back into the parser with your
substitution/expansion protobuf, which is then embedded in the wire
stream. Recursive structures can be defined this way. A simple example
of a recursive XML like structure is shown in the appendix.