Class: CodeRay::Scanners::XML

Inherits:
HTML
  • Object
show all
Defined in:
lib/coderay/scanners/xml.rb

Overview

Scanner for XML.

Currently this is the same scanner as Scanners::HTML.

Constant Summary

Constants inherited from HTML

HTML::ATTR_NAME, HTML::ENTITY, HTML::EVENT_ATTRIBUTES, HTML::HEX, HTML::IN_ATTRIBUTE, HTML::KINDS_NOT_LOC, HTML::PLAIN_STRING_CONTENT, HTML::TAG_END

Constants inherited from Scanner

Scanner::DEFAULT_OPTIONS, Scanner::KINDS_NOT_LOC, Scanner::ScanError

Instance Attribute Summary

Attributes inherited from Scanner

#state

Attributes included from Plugin

#plugin_id

Method Summary

Methods inherited from HTML

#reset

Methods inherited from Scanner

#binary_string, #column, #each, encoding, file_extension, #file_extension, #initialize, #lang, lang, #line, normalize, #reset, #string=, #tokenize, #tokens

Methods included from Plugin

#aliases, #plugin_host, #register_for, #title

Constructor Details

This class inherits a constructor from CodeRay::Scanners::Scanner