ParseMatch will parse the current yaml node as though it is the entry point to a match.
(ctx ParserContext, policy *Policy, node *yaml.Node)
| 899 | |
| 900 | // ParseMatch will parse the current yaml node as though it is the entry point to a match. |
| 901 | func (p *parserImpl) ParseMatch(ctx ParserContext, policy *Policy, node *yaml.Node) *Match { |
| 902 | return p.parseMatchInternal(ctx, policy, nil, node) |
| 903 | } |
| 904 | |
| 905 | func (p *parserImpl) parseMatchInternal(ctx ParserContext, policy *Policy, r *Rule, node *yaml.Node) *Match { |
| 906 | m, id := ctx.NewMatch(node) |
nothing calls this directly
no test coverage detected