Class: ToSource::Emitter::Literal::Regexp::Options
- Inherits:
-
ToSource::Emitter
- Object
- ToSource::Emitter
- ToSource::Emitter::Literal::Regexp::Options
- Defined in:
- lib/to_source/emitter/literal/regexp/options.rb
Constant Summary collapse
- KCODE_NONE =
No constants for this under ::Regexp in MRI So stole this from nice player rubinius kernel/common/regexp.rb
(1 << 9)
- KCODE_EUC =
(2 << 9)
- KCODE_SJIS =
(3 << 9)
- KCODE_UTF8 =
(4 << 9)
- KCODE_MASK =
KCODE_NONE | KCODE_EUC | KCODE_SJIS | KCODE_UTF8
- GENERIC =
IceNine.deep_freeze( ::Regexp::EXTENDED => 'x', # FIXME: Documented but no option flag? #::Regexp::FIXEDENCODING => '', ::Regexp::IGNORECASE => 'i', ::Regexp::MULTILINE => 'm' )
- KCODES =
IceNine.deep_freeze( KCODE_NONE => 'n', KCODE_EUC => 'e', KCODE_SJIS => 's', KCODE_UTF8 => 'u' )
Constants inherited from ToSource::Emitter
Instance Attribute Summary
Attributes inherited from ToSource::Emitter
Method Summary
Methods inherited from ToSource::Emitter
build, define_predicate, #initialize, run, #source
Constructor Details
This class inherits a constructor from ToSource::Emitter