XPath::Parser#parse returns a XPath::Node instance
This commit is contained in:
parent
03be9f241c
commit
b8cc6b5031
|
@ -157,7 +157,7 @@ end
|
|||
# parser = Oga::XPath::Parser.new('//foo')
|
||||
# ast = parser.parse
|
||||
#
|
||||
# @return [Oga::AST::Node]
|
||||
# @return [Oga::XPath::Node]
|
||||
#
|
||||
def parse
|
||||
ast = yyparse(self, :yield_next_token)
|
||||
|
|
Loading…
Reference in New Issue