2014-09-16 16:07:59 +00:00
|
|
|
require 'puppetx'
|
|
|
|
|
|
|
|
# Nothing to see here except forward declarations.
|
|
|
|
module Puppetx::PuppetLabs
|
|
|
|
module Strings
|
2014-09-30 20:34:57 +00:00
|
|
|
require 'puppet/pops'
|
2014-09-16 16:07:59 +00:00
|
|
|
|
|
|
|
# This submodule contains bits that interface with the YARD plugin system.
|
|
|
|
module YARD
|
2014-09-30 20:34:57 +00:00
|
|
|
require 'yard'
|
2014-09-29 22:49:05 +00:00
|
|
|
|
2014-09-30 20:34:57 +00:00
|
|
|
# This submodule contains code objects which are used to represent relevant
|
|
|
|
# aspects of puppet code in YARD's Registry
|
2014-09-29 22:49:05 +00:00
|
|
|
module CodeObjects
|
2014-09-30 20:34:57 +00:00
|
|
|
require 'puppetx/puppetlabs/strings/yard/code_objects/puppet_namespace_object'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/code_objects/defined_type_object'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/code_objects/host_class_object'
|
|
|
|
end
|
|
|
|
|
|
|
|
# This submodule contains handlers which are used to extract relevant data about
|
|
|
|
# puppet code from the ASTs produced by the Ruby and Puppet parsers
|
|
|
|
module Handlers
|
|
|
|
# This utility library contains some tools for working with Puppet docstrings
|
|
|
|
require 'puppet/util/docs'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/handlers/base'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/handlers/defined_type_handler'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/handlers/host_class_handler'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/handlers/puppet_3x_function_handler'
|
|
|
|
require 'puppetx/puppetlabs/strings/yard/handlers/puppet_4x_function_handler'
|
2014-09-29 22:49:05 +00:00
|
|
|
end
|
2014-09-16 16:07:59 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
# This submodule contains bits that operate on the Pops module produced by
|
|
|
|
# the Future parser.
|
|
|
|
module Pops
|
2014-09-30 20:34:57 +00:00
|
|
|
require 'puppetx/puppetlabs/strings/pops/yard_statement'
|
|
|
|
require 'puppetx/puppetlabs/strings/pops/yard_transformer'
|
2014-09-16 16:07:59 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|