Class: Regexp::Expression::Backreference::Base
- Inherits:
-
Regexp::Expression::Base
- Object
- Regexp::Expression::Base
- Regexp::Expression::Backreference::Base
- Defined in:
- lib/regexp_parser/expression/classes/backreference.rb
Instance Attribute Summary collapse
-
#referenced_expression ⇒ Object
Returns the value of attribute referenced_expression.
Attributes inherited from Regexp::Expression::Base
#conditional_level, #level, #nesting_level, #options, #quantifier, #set_level, #text, #token, #ts, #type
Instance Method Summary collapse
Methods inherited from Regexp::Expression::Base
#ascii_classes?, #attributes, #base_length, #case_insensitive?, #coded_offset, #default_classes?, #free_spacing?, #full_length, #greedy?, #initialize, #is?, #match, #match?, #multiline?, #offset, #one_of?, #possessive?, #quantified?, #quantifier_affix, #quantify, #quantity, #reluctant?, #repetitions, #strfregexp, #terminal?, #to_re, #to_s, #type?, #unicode_classes?, #unquantified_clone
Constructor Details
This class inherits a constructor from Regexp::Expression::Base
Instance Attribute Details
#referenced_expression ⇒ Object
Returns the value of attribute referenced_expression.
4 5 6 |
# File 'lib/regexp_parser/expression/classes/backreference.rb', line 4 def referenced_expression @referenced_expression end |
Instance Method Details
#initialize_copy(orig) ⇒ Object
6 7 8 9 |
# File 'lib/regexp_parser/expression/classes/backreference.rb', line 6 def initialize_copy(orig) self.referenced_expression = orig.referenced_expression.dup super end |