2014-06-01 21:02:28 +00:00
|
|
|
require 'ast'
|
2014-04-10 10:28:47 +00:00
|
|
|
require 'set'
|
2014-07-01 07:37:52 +00:00
|
|
|
require 'stringio'
|
2014-02-26 18:54:11 +00:00
|
|
|
|
2014-05-06 18:45:26 +00:00
|
|
|
# Load these first so that the native extensions don't have to define the
|
|
|
|
# Oga::XML namespace.
|
2014-03-25 08:34:38 +00:00
|
|
|
require_relative 'oga/xml/lexer'
|
|
|
|
require_relative 'oga/xml/parser'
|
2014-04-28 15:22:17 +00:00
|
|
|
require_relative 'oga/xml/pull_parser'
|
|
|
|
|
2014-05-07 20:32:34 +00:00
|
|
|
require_relative 'liboga'
|
2014-05-06 17:06:04 +00:00
|
|
|
|
2014-06-23 07:42:14 +00:00
|
|
|
#:nocov:
|
2014-05-07 20:32:34 +00:00
|
|
|
if RUBY_PLATFORM == 'java'
|
|
|
|
org.liboga.Liboga.load(JRuby.runtime)
|
|
|
|
end
|
2014-06-23 07:42:14 +00:00
|
|
|
#:nocov:
|
2014-05-06 18:45:26 +00:00
|
|
|
|
2014-03-26 17:12:00 +00:00
|
|
|
require_relative 'oga/xml/node'
|
|
|
|
require_relative 'oga/xml/element'
|
2014-03-28 07:59:48 +00:00
|
|
|
require_relative 'oga/xml/document'
|
2014-03-28 08:27:53 +00:00
|
|
|
require_relative 'oga/xml/text'
|
|
|
|
require_relative 'oga/xml/comment'
|
|
|
|
require_relative 'oga/xml/cdata'
|
2014-04-02 20:30:45 +00:00
|
|
|
require_relative 'oga/xml/xml_declaration'
|
2014-04-03 20:44:00 +00:00
|
|
|
require_relative 'oga/xml/doctype'
|
2014-07-16 08:08:11 +00:00
|
|
|
require_relative 'oga/xml/attribute'
|
2014-08-07 18:01:14 +00:00
|
|
|
require_relative 'oga/xml/namespace'
|
2014-06-26 17:52:03 +00:00
|
|
|
require_relative 'oga/xml/node_set'
|
2014-03-25 08:40:24 +00:00
|
|
|
|
|
|
|
require_relative 'oga/html/parser'
|
2014-05-14 06:48:49 +00:00
|
|
|
|
2014-06-01 21:02:28 +00:00
|
|
|
require_relative 'oga/xpath/node'
|
2014-05-14 06:48:49 +00:00
|
|
|
require_relative 'oga/xpath/lexer'
|
2014-06-01 21:02:28 +00:00
|
|
|
require_relative 'oga/xpath/parser'
|
2014-07-07 17:41:09 +00:00
|
|
|
require_relative 'oga/xpath/evaluator'
|