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

Function newOperatorNode

parse.go:79–81  ·  view source on GitHub ↗

newOperatorNode returns new operator node OperatorNode.

(op string, left, right node)

Source from the content-addressed store, hash-verified

77
78// newOperatorNode returns new operator node OperatorNode.
79func newOperatorNode(op string, left, right node) node {
80 return &operatorNode{nodeType: nodeOperator, Op: op, Left: left, Right: right}
81}
82
83// newOperand returns new constant operand node OperandNode.
84func newOperandNode(v interface{}) node {

Callers 9

parseOrExprMethod · 0.85
parseAndExprMethod · 0.85
parseEqualityExprMethod · 0.85
parseRelationalExprMethod · 0.85
parseAdditiveExprMethod · 0.85
parseUnaryExprMethod · 0.85
parseUnionExprMethod · 0.85
parseSequenceMethod · 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…