Assignment to a field in a structure.
Definition at line 193 of file tesla.proto.
Public Types | |
enum | AssignType { SimpleAssign = 1, MinusEqual = 3 } |
Types of assignment: simple or compound. More... | |
Public Attributes | |
required StructField | field = 8 |
The field being assigned to. More... | |
required AssignType | operation = 4 |
The kind of assignment (e.g. More... | |
required Argument | value = 5 |
The value being assigned. More... | |
optional bool | strict = 7 [ default = true ] |
If set, this event should only occur as described by the automaton. More... | |
Types of assignment: simple or compound.
Enumerator | |
---|---|
SimpleAssign | |
MinusEqual |
Definition at line 195 of file tesla.proto.
required StructField tesla::FieldAssignment::field = 8 |
The field being assigned to.
Definition at line 198 of file tesla.proto.
Referenced by tesla::FieldAssignTransition::DotLabel(), tesla::operator==(), and tesla::FieldAssignTransition::ShortLabel().
required AssignType tesla::FieldAssignment::operation = 4 |
The kind of assignment (e.g.
'+=').
Definition at line 201 of file tesla.proto.
Referenced by tesla::FieldAssignTransition::DotLabel(), tesla::operator==(), and tesla::FieldAssignTransition::ShortLabel().
optional bool tesla::FieldAssignment::strict = 7 [ default = true ] |
If set, this event should only occur as described by the automaton.
Definition at line 207 of file tesla.proto.
Referenced by tesla::FieldAssignTransition::IsStrict(), and tesla::operator==().
required Argument tesla::FieldAssignment::value = 5 |
The value being assigned.
Definition at line 204 of file tesla.proto.
Referenced by tesla::FieldAssignTransition::DotLabel(), tesla::operator==(), and tesla::FieldAssignTransition::ShortLabel().