Class: Regexp::Expression::Backreference::NumberRelative

Inherits:
Number show all
Defined in:
lib/regexp_parser/expression/classes/backreference.rb

Direct Known Subclasses

NumberCallRelative

Instance Attribute Summary collapse

Attributes inherited from Number

#number

Attributes inherited from Base

#referenced_expression

Attributes inherited from Regexp::Expression::Base

#conditional_level, #level, #nesting_level, #options, #quantifier, #set_level, #text, #token, #ts, #type

Method Summary

Methods inherited from Number

#initialize

Methods inherited from Base

#initialize_copy

Methods inherited from Regexp::Expression::Base

#ascii_classes?, #attributes, #base_length, #case_insensitive?, #coded_offset, #default_classes?, #free_spacing?, #full_length, #greedy?, #initialize, #initialize_copy, #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::Backreference::Number

Instance Attribute Details

#effective_numberObject Also known as: reference

Returns the value of attribute effective_number.



33
34
35
# File 'lib/regexp_parser/expression/classes/backreference.rb', line 33

def effective_number
  @effective_number
end