X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2Fxpath%2Fast.mli;h=0fc63d4289e1b84105038eb08c40f03519ed6e03;hb=4eee07df1e02731b7bfac0caaeb73ebec61b980a;hp=8040bb1eab586385498d3e80ddede91de9e9c9b7;hpb=e13f5deae217f945b44fa345ef4f0008e1780787;p=tatoo.git diff --git a/src/xpath/ast.mli b/src/xpath/ast.mli index 8040bb1..0fc63d4 100644 --- a/src/xpath/ast.mli +++ b/src/xpath/ast.mli @@ -14,7 +14,7 @@ (***********************************************************************) (* - Time-stamp: + Time-stamp: *) type path = single_path list @@ -28,7 +28,7 @@ and axis = Self | Attribute | Child | PrecedingSibling | Preceding | Following -and test = Utils.QNameSet.t +and test = Utils.QNameSet.t * Tree.Common.NodeKind.t and binop = Eq | Neq | Lt | Gt | Lte | Gte | Or | And | Add | Sub | Mult | Div | Mod and unop = Neg @@ -52,3 +52,4 @@ val print_axis : Format.formatter -> axis -> unit val print_test : Format.formatter -> test -> unit val print_expr : Format.formatter -> expr -> unit +val invert_axis : axis -> axis