IsConstrained determines if the sequence has the global or per-expression `BY` statement.
()
| 422 | |
| 423 | // IsConstrained determines if the sequence has the global or per-expression `BY` statement. |
| 424 | func (s Sequence) IsConstrained() bool { |
| 425 | return s.By != nil || s.Expressions[0].By != nil |
| 426 | } |
| 427 | |
| 428 | func (s *Sequence) init() { |
| 429 | // determine if the sequence references an event type |
no outgoing calls