MCPcopy Create free account
hub / github.com/antchfx/xpath / newOperandNode

Function newOperandNode

parse.go:84–86  ·  view source on GitHub ↗

newOperand returns new constant operand node OperandNode.

(v interface{})

Source from the content-addressed store, hash-verified

82
83// newOperand returns new constant operand node OperandNode.
84func newOperandNode(v interface{}) node {
85 return &operandNode{nodeType: nodeConstantOperand, Val: v}
86}
87
88// newAxisNode returns new axis node AxisNode.
89func newAxisNode(axisType string, typeTest NodeType, localName, prefix, prop string, n node, opts ...func(p *axisNode)) node {

Callers 2

parseUnaryExprMethod · 0.85
parsePrimaryExprMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…