Class: Flexr::Regexp::AST::CharClass

Inherits:
Struct
  • Object
show all
Defined in:
lib/flexr/regexp/ast.rb

Instance Attribute Summary collapse

Instance Attribute Details

#locObject

Returns the value of attribute loc

Returns:

  • (Object)

    the current value of loc



16
17
18
# File 'lib/flexr/regexp/ast.rb', line 16

def loc
  @loc
end

#negatedObject

Returns the value of attribute negated

Returns:

  • (Object)

    the current value of negated



16
17
18
# File 'lib/flexr/regexp/ast.rb', line 16

def negated
  @negated
end

#rangesObject

Returns the value of attribute ranges

Returns:

  • (Object)

    the current value of ranges



16
17
18
# File 'lib/flexr/regexp/ast.rb', line 16

def ranges
  @ranges
end