struct PatternA parsed binding or matching pattern with unresolved names.
start..<end covers the written pattern. The optional meta override is used only by desugared for-loop parameters whose diagnostic token extent differs from their inherited pattern span.
Properties
let kind: PatternKind
The parsed pattern grammar and child patterns.
let start: Int
The inclusive starting byte offset in the source.
let end: Int
The exclusive ending byte offset in the source.
let meta_start: Int
Node-meta token extents, where they diverge from the span (-1 = same). Only the for-loop block-arg replacement produces this: the pattern inherits the Parameter's meta, which starts after the name.
let meta_end: Int
The exclusive ending byte offset of the meta.