Vl-propbinary
A basic binary operator that joins two sequences/properties, like
a and b, a |-> b, etc.
This is a product type, introduced by deftagsum in support of vl-propexpr.
Fields
- op — vl-property-binaryop-p
- Operator that joins these sequences together.
- left — vl-propexpr
- Left hand side sequence or property operand.
- right — vl-propexpr
- Right hand side sequence or property operand.
Note that we use this for first_match sequence operators.
If you look at the grammar for first_match expressions, there
is special syntax for embedding match items without nested parens.
However, that syntax is equivalent to just using the usual (foo,
x++) style syntax as in a vl-propassign, so in our internal
representation we only have a sequence expression; the match items,
if any, will be found within arg.
Subtopics
- Vl-property-binaryop-p
- Very basic binary sequence/property operators.
- Vl-propbinary->right
- Get the right field from a vl-propbinary.
- Vl-propbinary->op
- Get the op field from a vl-propbinary.
- Vl-propbinary->left
- Get the left field from a vl-propbinary.
- Make-vl-propbinary
- Basic constructor macro for vl-propbinary structures.
- Change-vl-propbinary
- Modifying constructor for vl-propbinary structures.