more docs

This commit is contained in:
Mike Farah
2020-11-14 13:38:44 +11:00
parent 860655b4cd
commit db4762ef7c
6 changed files with 117 additions and 52 deletions
+3 -3
View File
@@ -5,8 +5,8 @@ import (
"container/list"
"fmt"
"gopkg.in/op/go-logging.v1"
"gopkg.in/yaml.v3"
logging "gopkg.in/op/go-logging.v1"
yaml "gopkg.in/yaml.v3"
)
type OperationType struct {
@@ -70,7 +70,7 @@ var RecursiveDescent = &OperationType{Type: "RECURSIVE_DESCENT", NumArgs: 0, Pre
var Select = &OperationType{Type: "SELECT", NumArgs: 1, Precedence: 50, Handler: SelectOperator}
var DeleteChild = &OperationType{Type: "DELETE", NumArgs: 2, Precedence: 40, Handler: DeleteChildOperator}
var DeleteChild = &OperationType{Type: "DELETE", NumArgs: 1, Precedence: 40, Handler: DeleteChildOperator}
// var Exists = &OperationType{Type: "Length", NumArgs: 2, Precedence: 35}
// filters matches if they have the existing path