NewMatch creates a new Match instance with an ID associated with the YAML node.
(node *yaml.Node)
| 667 | |
| 668 | // NewMatch creates a new Match instance with an ID associated with the YAML node. |
| 669 | func (p *parserImpl) NewMatch(node *yaml.Node) (*Match, int64) { |
| 670 | id := p.CollectMetadata(node) |
| 671 | m := NewMatch(id) |
| 672 | return m, id |
| 673 | } |
| 674 | |
| 675 | // NewString creates a new ValueString from the YAML node. |
| 676 | func (p *parserImpl) NewString(node *yaml.Node) ValueString { |
nothing calls this directly
no test coverage detected