diff options
author | murphy <murphy@rubychan.de> | 2010-05-01 02:58:17 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-05-01 02:58:17 +0000 |
commit | 7bf48ce6cf5c75a2278d6545f02781a79f53ebbb (patch) | |
tree | c0f87f427bf4d8b8a8c56ec1f722367949c8ff5b /lib/coderay/scanners | |
parent | 6f1178b7fb8967dda865433ecb9e309f6cb733e1 (diff) | |
download | coderay-7bf48ce6cf5c75a2278d6545f02781a79f53ebbb.tar.gz |
Got rid of the old streaming system (see #142).
Diffstat (limited to 'lib/coderay/scanners')
-rw-r--r-- | lib/coderay/scanners/c.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/cpp.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/debug.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/groovy.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/html.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/java.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/java_script.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/json.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/nitro_xhtml.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/plaintext.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/python.rb | 2 | ||||
-rw-r--r-- | lib/coderay/scanners/rhtml.rb | 1 | ||||
-rw-r--r-- | lib/coderay/scanners/ruby.rb | 2 |
13 files changed, 0 insertions, 20 deletions
diff --git a/lib/coderay/scanners/c.rb b/lib/coderay/scanners/c.rb index 45ca42e..bd182e8 100644 --- a/lib/coderay/scanners/c.rb +++ b/lib/coderay/scanners/c.rb @@ -4,8 +4,6 @@ module Scanners # Scanner for C. class C < Scanner - include Streamable - register_for :c file_extension 'c' diff --git a/lib/coderay/scanners/cpp.rb b/lib/coderay/scanners/cpp.rb index 7531892..cb79768 100644 --- a/lib/coderay/scanners/cpp.rb +++ b/lib/coderay/scanners/cpp.rb @@ -6,8 +6,6 @@ module Scanners # Aliases: +cplusplus+, c++ class CPlusPlus < Scanner - include Streamable - register_for :cpp file_extension 'cpp' title 'C++' diff --git a/lib/coderay/scanners/debug.rb b/lib/coderay/scanners/debug.rb index 0f2b89f..deaa30b 100644 --- a/lib/coderay/scanners/debug.rb +++ b/lib/coderay/scanners/debug.rb @@ -7,7 +7,6 @@ module Scanners # Parses the output of the Encoders::Debug encoder. class Debug < Scanner - include Streamable register_for :debug file_extension 'raydebug' title 'CodeRay Token Dump' diff --git a/lib/coderay/scanners/groovy.rb b/lib/coderay/scanners/groovy.rb index fdbbbc7..2334bc6 100644 --- a/lib/coderay/scanners/groovy.rb +++ b/lib/coderay/scanners/groovy.rb @@ -6,7 +6,6 @@ module Scanners # Scanner for Groovy. class Groovy < Java - include Streamable register_for :groovy # TODO: check list of keywords diff --git a/lib/coderay/scanners/html.rb b/lib/coderay/scanners/html.rb index 8f71e0e..7fab3cc 100644 --- a/lib/coderay/scanners/html.rb +++ b/lib/coderay/scanners/html.rb @@ -8,7 +8,6 @@ module Scanners # See also: Scanners::XML class HTML < Scanner - include Streamable register_for :html KINDS_NOT_LOC = [ diff --git a/lib/coderay/scanners/java.rb b/lib/coderay/scanners/java.rb index e7becda..427e754 100644 --- a/lib/coderay/scanners/java.rb +++ b/lib/coderay/scanners/java.rb @@ -4,7 +4,6 @@ module Scanners # Scanner for Java. class Java < Scanner - include Streamable register_for :java helper :builtin_types diff --git a/lib/coderay/scanners/java_script.rb b/lib/coderay/scanners/java_script.rb index 3ae8d80..f97e6da 100644 --- a/lib/coderay/scanners/java_script.rb +++ b/lib/coderay/scanners/java_script.rb @@ -6,8 +6,6 @@ module Scanners # Aliases: +ecmascript+, +ecma_script+, +javascript+ class JavaScript < Scanner - include Streamable - register_for :java_script file_extension 'js' diff --git a/lib/coderay/scanners/json.rb b/lib/coderay/scanners/json.rb index 668fd82..b36811f 100644 --- a/lib/coderay/scanners/json.rb +++ b/lib/coderay/scanners/json.rb @@ -4,8 +4,6 @@ module Scanners # Scanner for JSON (JavaScript Object Notation). class JSON < Scanner - include Streamable - register_for :json file_extension 'json' diff --git a/lib/coderay/scanners/nitro_xhtml.rb b/lib/coderay/scanners/nitro_xhtml.rb index ba8ee71..cf8c5aa 100644 --- a/lib/coderay/scanners/nitro_xhtml.rb +++ b/lib/coderay/scanners/nitro_xhtml.rb @@ -9,7 +9,6 @@ module Scanners # Alias: +nitro+ class NitroXHTML < Scanner - include Streamable register_for :nitro_xhtml file_extension :xhtml title 'Nitro XHTML' diff --git a/lib/coderay/scanners/plaintext.rb b/lib/coderay/scanners/plaintext.rb index e176403..b8ea5f5 100644 --- a/lib/coderay/scanners/plaintext.rb +++ b/lib/coderay/scanners/plaintext.rb @@ -11,8 +11,6 @@ module Scanners register_for :plaintext, :plain title 'Plain text' - include Streamable - KINDS_NOT_LOC = [:plain] # :nodoc: protected diff --git a/lib/coderay/scanners/python.rb b/lib/coderay/scanners/python.rb index 568ed57..b01248a 100644 --- a/lib/coderay/scanners/python.rb +++ b/lib/coderay/scanners/python.rb @@ -7,8 +7,6 @@ module Scanners # http://dev.pocoo.org/projects/pygments/browser/pygments/lexers/agile.py. class Python < Scanner - include Streamable - register_for :python file_extension 'py' diff --git a/lib/coderay/scanners/rhtml.rb b/lib/coderay/scanners/rhtml.rb index 064a92c..1922948 100644 --- a/lib/coderay/scanners/rhtml.rb +++ b/lib/coderay/scanners/rhtml.rb @@ -7,7 +7,6 @@ module Scanners # Scanner for HTML ERB templates. class RHTML < Scanner - include Streamable register_for :rhtml title 'HTML ERB Template' diff --git a/lib/coderay/scanners/ruby.rb b/lib/coderay/scanners/ruby.rb index dcbfce0..a2e5fed 100644 --- a/lib/coderay/scanners/ruby.rb +++ b/lib/coderay/scanners/ruby.rb @@ -17,8 +17,6 @@ module Scanners # Alias: +irb+ class Ruby < Scanner - include Streamable - register_for :ruby file_extension 'rb' |