mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
Add a struct called subscript, which will be used in expression variant to represent subscripted values e.g col[x], val[sub]. It will replace the sub field of column_value. Having a separate struct in AST for this purpose is cleaner and allows to express subscripting values other than column_value. It is not added to the expression variant yet, because that would require immediately implementing all visitors. The following commits will implement individual visitors and then subscript will finally be added to expression. Signed-off-by: Jan Ciolek <jan.ciolek@scylladb.com>