resolve

fun resolve(captureName: String): SpanStyle?

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.