NewMatch creates a new Match instance with an ID associated with the YAML node.
(node *yaml.Node)
| 625 | |
| 626 | // NewMatch creates a new Match instance with an ID associated with the YAML node. |
| 627 | func (p *parserImpl) NewMatch(node *yaml.Node) (*Match, int64) { |
| 628 | id := p.CollectMetadata(node) |
| 629 | m := NewMatch(id) |
| 630 | return m, id |
| 631 | } |
| 632 | |
| 633 | // NewString creates a new ValueString from the YAML node. |
| 634 | func (p *parserImpl) NewString(node *yaml.Node) ValueString { |
nothing calls this directly
no test coverage detected