X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=src%2FxPath.mli;h=de899555031f68e46357660b70af82fe513c4af4;hb=e2dcfc3066d33b814d4e9724563cc5b3e696060d;hp=44935c3b502f79f09b9f2bcc1e8fc58cc6b3e8fb;hpb=cba2938d929fd5119b1491686ddc224d5af618c6;p=tatoo.git diff --git a/src/xPath.mli b/src/xPath.mli index 44935c3..de89955 100644 --- a/src/xPath.mli +++ b/src/xPath.mli @@ -18,8 +18,7 @@ module Ast : sig - type path = Absolute of step list | AbsoluteDoS of step list - | Relative of step list + type path = Absolute of step list | Relative of step list and step = axis * test * predicate and axis = Self | Attribute | Child | Descendant | DescendantOrSelf @@ -46,4 +45,5 @@ sig end -val parse : string -> Ast.path +val parse_string : string -> Ast.path +val parse_file : in_channel -> Ast.path