Class: CodeRay::Scanners::RHTML
- Includes:
- CodeRay::Streamable
- Defined in:
- lib/coderay/scanners/rhtml.rb
Overview
RHTML Scanner
Constant Summary collapse
- ERB_RUBY_BLOCK =
/ <%(?!%)[=-]? (?> [^\-%]* # normal* (?> # special (?: %(?!>) | -(?!%>) ) [^\-%]* # normal* )* ) (?: -?%> )? /x
- START_OF_ERB =
/ <%(?!%) /x
Constants inherited from Scanner
Scanner::DEFAULT_OPTIONS, Scanner::ScanError
Method Summary
Methods inherited from Scanner
#column, #each, file_extension, #initialize, #line, normify, #reset, streamable?, #streaming?, #string=, #tokenize, #tokens
Methods included from Plugin
#helper, #included, #plugin_host, #plugin_id, #register_for, #title
Constructor Details
This class inherits a constructor from CodeRay::Scanners::Scanner