X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fxpath%2Fast.ml;h=a90a41bd48420156b6059115f45fbf19e9f79f7c;hp=64c6c8da6214b7b863feaa28be40c883b5fd4aed;hb=b00bff88c7902e828804c06b7f9dc55222fdc84e;hpb=03b6a364e7240ca827585e7baff225a0aaa33bc6 diff --git a/src/xpath/ast.ml b/src/xpath/ast.ml index 64c6c8d..a90a41b 100644 --- a/src/xpath/ast.ml +++ b/src/xpath/ast.ml @@ -14,10 +14,9 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) -open Utils type path = single_path list and single_path = Absolute of step list | Relative of step list @@ -30,7 +29,7 @@ and axis = Self | Attribute | Child | PrecedingSibling | Preceding | Following -and test = QNameSet.t * Tree.Common.NodeKind.t +and test = QNameSet.t * Tree.NodeKind.t and binop = Eq | Neq | Lt | Gt | Lte | Gte | Or | And | Add | Sub | Mult | Div | Mod and unop = Neg @@ -128,7 +127,7 @@ and print_axis fmt a = pp fmt "%s" begin end and print_test fmt (ts,kind) = - let open Tree.Common.NodeKind in + let open Tree.NodeKind in match kind with Text -> pp fmt "%s" "text()" | Element | Attribute ->