oga/lib/oga.rb

53 lines
1.3 KiB
Ruby
Raw Normal View History

gem 'racc'
2014-06-01 21:02:28 +00:00
require 'ast'
require 'set'
require 'stringio'
2014-02-26 18:54:11 +00:00
require_relative 'oga/version'
require_relative 'oga/oga'
# Load these first so that the native extensions don't have to define the
# Oga::XML namespace.
require_relative 'oga/xml/lexer'
require_relative 'oga/xml/parser'
require_relative 'liboga'
#:nocov:
if RUBY_PLATFORM == 'java'
org.liboga.Liboga.load(JRuby.runtime)
end
#:nocov:
require_relative 'oga/xml/html_void_elements'
require_relative 'oga/xml/entities'
require_relative 'oga/xml/querying'
require_relative 'oga/xml/traversal'
require_relative 'oga/xml/node'
2014-03-28 07:59:48 +00:00
require_relative 'oga/xml/document'
require_relative 'oga/xml/character_node'
require_relative 'oga/xml/text'
require_relative 'oga/xml/comment'
require_relative 'oga/xml/cdata'
require_relative 'oga/xml/xml_declaration'
require_relative 'oga/xml/processing_instruction'
2014-04-03 20:44:00 +00:00
require_relative 'oga/xml/doctype'
2014-08-07 18:01:14 +00:00
require_relative 'oga/xml/namespace'
require_relative 'oga/xml/attribute'
require_relative 'oga/xml/element'
2014-06-26 17:52:03 +00:00
require_relative 'oga/xml/node_set'
require_relative 'oga/xml/sax_parser'
require_relative 'oga/xml/pull_parser'
require_relative 'oga/html/parser'
require_relative 'oga/html/sax_parser'
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'
require_relative 'oga/xpath/evaluator'
require_relative 'oga/css/lexer'
require_relative 'oga/css/parser'