Fields shared by every RollPart variant. start/end mirror the
source span of the AST node the part was evaluated from — present whenever
the AST came from parse(), absent on hand-built ASTs.
Useful for code that walks the parts tree generically: any part can be
narrowed to this shape without switching on type first.
Fields shared by every RollPart variant.
start/endmirror the source span of the AST node the part was evaluated from — present whenever the AST came fromparse(), absent on hand-built ASTs.Useful for code that walks the parts tree generically: any part can be narrowed to this shape without switching on
typefirst.