Remove AbsoluteDOS from the XPath AST.
[tatoo.git] / src / xPath.mli
index 44935c3..de89955 100644 (file)
@@ -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