XPath::Parser#parse returns a XPath::Node instance

This commit is contained in:
Yorick Peterse 2014-06-23 20:23:08 +02:00
parent 03be9f241c
commit b8cc6b5031
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ end
# parser = Oga::XPath::Parser.new('//foo') # parser = Oga::XPath::Parser.new('//foo')
# ast = parser.parse # ast = parser.parse
# #
# @return [Oga::AST::Node] # @return [Oga::XPath::Node]
# #
def parse def parse
ast = yyparse(self, :yield_next_token) ast = yyparse(self, :yield_next_token)