Module: CodeRay::Scanners

Extended by:
PluginHost
Defined in:
lib/coderay/scanners.rb,
lib/coderay/scanners/c.rb,
lib/coderay/scanners/go.rb,
lib/coderay/scanners/cpp.rb,
lib/coderay/scanners/css.rb,
lib/coderay/scanners/erb.rb,
lib/coderay/scanners/lua.rb,
lib/coderay/scanners/php.rb,
lib/coderay/scanners/sql.rb,
lib/coderay/scanners/xml.rb,
lib/coderay/scanners/_map.rb,
lib/coderay/scanners/diff.rb,
lib/coderay/scanners/haml.rb,
lib/coderay/scanners/html.rb,
lib/coderay/scanners/java.rb,
lib/coderay/scanners/json.rb,
lib/coderay/scanners/ruby.rb,
lib/coderay/scanners/sass.rb,
lib/coderay/scanners/text.rb,
lib/coderay/scanners/yaml.rb,
lib/coderay/scanners/debug.rb,
lib/coderay/scanners/delphi.rb,
lib/coderay/scanners/groovy.rb,
lib/coderay/scanners/python.rb,
lib/coderay/scanners/clojure.rb,
lib/coderay/scanners/scanner.rb,
lib/coderay/scanners/raydebug.rb,
lib/coderay/scanners/taskpaper.rb,
lib/coderay/scanners/java_script.rb,
lib/coderay/scanners/ruby/patterns.rb,
lib/coderay/scanners/ruby/string_state.rb,
lib/coderay/scanners/java/builtin_types.rb

Overview

Scanners

This module holds the Scanner class and its subclasses. For example, the Ruby scanner is named CodeRay::Scanners::Ruby can be found in coderay/scanners/ruby.

Scanner also provides methods and constants for the register mechanism and the [] method that returns the Scanner class belonging to the given lang.

See PluginHost.

Defined Under Namespace

Classes: C, CPlusPlus, CSS, Clojure, Debug, Delphi, Diff, ERB, Go, Groovy, HAML, HTML, JSON, Java, JavaScript, Lua, PHP, Python, Raydebug, Ruby, SQL, Sass, Scanner, Taskpaper, Text, XML, YAML

Constant Summary

Constants included from PluginHost

PluginHost::HostNotFound, PluginHost::PLUGIN_HOSTS, PluginHost::PLUGIN_HOSTS_BY_ID, PluginHost::PluginNotFound

Method Summary

Methods included from PluginHost

[], all_plugins, const_missing, default, extended, list, load_all, load_plugin_map, map, plugin_hash, plugin_path, register