Generally it looks like spans are only correct for the start position of a node. For example, for an Expressions node (a list of Expressions), the span would correspond with the first token from the first expression. We'd need to change how the parser worked in order for this library to be useful for something like producing minimal edits of css.
px
,pt
, ...)Generally it looks like spans are only correct for the start position of a node. For example, for an
Expressions
node (a list ofExpression
s), the span would correspond with the first token from the first expression. We'd need to change how the parser worked in order for this library to be useful for something like producing minimal edits of css.