Sha256: 618d6398a5b5c2997cded165177617c205c3c2fcabb9833ca28455a7c19d63d7

Contents?: true

Size: 1.14 KB

Versions: 19

Compression:

Stored size: 1.14 KB

Contents

require 'enumerator'
require 'forwardable'
require 'open-uri'
require 'singleton'
require 'set'
require 'time'

require 'namae'

require 'csl/version'

require 'csl/compatibility'
require 'csl/extensions'
require 'csl/errors'

require 'csl/schema'

require 'csl/pretty_printer'
require 'csl/loader'
require 'csl/parser'
require 'csl/treelike'
require 'csl/node'

require 'csl/info'
require 'csl/date_part'

require 'csl/locale'
require 'csl/locale/date'
require 'csl/locale/term'
require 'csl/locale/style_options'

require 'csl/name_options'

require 'csl/style'
require 'csl/style/bibliography'
require 'csl/style/citation'
require 'csl/style/sort'
require 'csl/style/choose'
require 'csl/style/date'
require 'csl/style/group'
require 'csl/style/label'
require 'csl/style/layout'
require 'csl/style/macro'
require 'csl/style/names'
require 'csl/style/number'
require 'csl/style/text'

module CSL

  module_function

  def parse(*arguments)
    Parser.instance.parse(*arguments)
  end

  def parse!(*arguments)
    Parser.instance.parse!(*arguments)
  end

  def validate(node)
    Schema.validate(node)
  end

  def valid?(node)
    Schema.valid?(node)
  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
csl-2.0.0 lib/csl.rb
csl-1.6.0 lib/csl.rb
csl-1.5.2 lib/csl.rb
csl-1.5.1 lib/csl.rb
csl-1.5.0 lib/csl.rb
csl-1.4.5 lib/csl.rb
csl-1.4.4 lib/csl.rb
csl-1.4.3 lib/csl.rb
csl-1.4.2 lib/csl.rb
csl-1.4.1 lib/csl.rb
csl-1.4.0 lib/csl.rb
csl-1.3.2 lib/csl.rb
csl-1.3.1 lib/csl.rb
csl-1.3.0 lib/csl.rb
csl-1.2.3 lib/csl.rb
csl-1.2.2 lib/csl.rb
csl-1.2.1 lib/csl.rb
csl-1.2.0 lib/csl.rb
csl-1.1.0 lib/csl.rb