resolve
Returns the SpanStyle for captureName, falling back along dotted prefixes.
For a capture like string.escape, the lookup tries string.escape, then string, and finally returns null if no entry exists. extras wins over typed fields for the same name. A capture that is an exact synonym of a typed field but shares no dotted prefix with it (e.g. float, emitted for a number) is resolved through CAPTURE_ALIASES.