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'
|
2015-03-05 22:00:43 +00:00
|
|
|
require 'thread'
|
2014-02-26 18:54:11 +00:00
|
|
|
|
2015-06-03 04:42:30 +00:00
|
|
|
require 'oga/version'
|
|
|
|
require 'oga/oga'
|
|
|
|
require 'oga/lru'
|
|
|
|
require 'oga/entity_decoder'
|
|
|
|
require 'oga/blacklist'
|
|
|
|
require 'oga/whitelist'
|
2014-09-03 07:30:56 +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.
|
2015-06-03 04:42:30 +00:00
|
|
|
require 'oga/xml/lexer'
|
|
|
|
require 'oga/xml/parser'
|
2014-04-28 15:22:17 +00:00
|
|
|
|
2015-06-03 04:42:30 +00:00
|
|
|
require '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
|
|
|
|
2015-06-03 04:42:30 +00:00
|
|
|
require 'oga/xml/html_void_elements'
|
|
|
|
require 'oga/xml/entities'
|
|
|
|
require 'oga/xml/querying'
|
|
|
|
require 'oga/xml/traversal'
|
2015-08-18 12:07:09 +00:00
|
|
|
require 'oga/xml/expanded_name'
|
2015-06-03 04:42:30 +00:00
|
|
|
require 'oga/xml/node'
|
|
|
|
require 'oga/xml/document'
|
|
|
|
require 'oga/xml/character_node'
|
|
|
|
require 'oga/xml/text'
|
|
|
|
require 'oga/xml/comment'
|
|
|
|
require 'oga/xml/cdata'
|
|
|
|
require 'oga/xml/xml_declaration'
|
|
|
|
require 'oga/xml/processing_instruction'
|
|
|
|
require 'oga/xml/doctype'
|
|
|
|
require 'oga/xml/namespace'
|
|
|
|
require 'oga/xml/default_namespace'
|
|
|
|
require 'oga/xml/attribute'
|
|
|
|
require 'oga/xml/element'
|
|
|
|
require 'oga/xml/node_set'
|
|
|
|
|
|
|
|
require 'oga/xml/sax_parser'
|
|
|
|
require 'oga/xml/pull_parser'
|
|
|
|
|
|
|
|
require 'oga/html/parser'
|
|
|
|
require 'oga/html/sax_parser'
|
|
|
|
require 'oga/html/entities'
|
|
|
|
|
2015-07-02 20:52:07 +00:00
|
|
|
require 'oga/ruby/node'
|
2015-07-02 21:15:10 +00:00
|
|
|
require 'oga/ruby/generator'
|
2015-07-02 20:52:07 +00:00
|
|
|
|
2015-06-03 04:42:30 +00:00
|
|
|
require 'oga/xpath/lexer'
|
|
|
|
require 'oga/xpath/parser'
|
2015-06-22 21:49:09 +00:00
|
|
|
require 'oga/xpath/compiler'
|
2015-07-26 23:00:14 +00:00
|
|
|
require 'oga/xpath/conversion'
|
2015-06-03 04:42:30 +00:00
|
|
|
|
|
|
|
require 'oga/css/lexer'
|
|
|
|
require 'oga/css/parser'
|