Method
Validate
(nestingLevel int, insideArraySubscript bool)
Source from the content-addressed store, hash-verified
| 112 | } |
| 113 | |
| 114 | func (o Operation) Validate(nestingLevel int, insideArraySubscript bool) error { |
| 115 | if err := o.Left.Validate(nestingLevel, insideArraySubscript); err != nil { |
| 116 | return err |
| 117 | } |
| 118 | if o.Right != nil { |
| 119 | if err := o.Right.Validate(nestingLevel, insideArraySubscript); err != nil { |
| 120 | return err |
| 121 | } |
| 122 | } |
| 123 | return nil |
| 124 | } |
| 125 | |
| 126 | func opPriority(path Path) int { |
| 127 | switch path := path.(type) { |
Callers
nothing calls this directly
Tested by
no test coverage detected