yaml-grammar
yaml-grammar copied to clipboard
Description for rule prefixes mentions, but does not define, `n`
The description for some of the rule prefixes mention an n variable.
https://github.com/yaml/yaml-grammar/blob/15047828ace28d09594d3553b90b165fef60634b/yaml-spec-1.2.yaml#L78-L82
However, it is not clear what n is.
Is n supposed to be the current indentation level? So the rule could be read as "where indentation is greater than the current indentation level"? In which case, isn't this always false?
It would be helpful if n was explicitly defined, with an example (or a link to an example).