Class: TwitterCldr::Parsers::UnicodeRegexParser::CharacterClass::BinaryOperator

Inherits:
Struct
  • Object
show all
Defined in:
lib/twitter_cldr/parsers/unicode_regex/character_class.rb

Overview

Character classes can include set operations (eg. union, intersection, etc).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#leftObject

Returns the value of attribute left

Returns:

  • (Object)

    the current value of left



18
19
20
# File 'lib/twitter_cldr/parsers/unicode_regex/character_class.rb', line 18

def left
  @left
end

#operatorObject

Returns the value of attribute operator

Returns:

  • (Object)

    the current value of operator



18
19
20
# File 'lib/twitter_cldr/parsers/unicode_regex/character_class.rb', line 18

def operator
  @operator
end

#rightObject

Returns the value of attribute right

Returns:

  • (Object)

    the current value of right



18
19
20
# File 'lib/twitter_cldr/parsers/unicode_regex/character_class.rb', line 18

def right
  @right
end

Instance Method Details

#typeObject



19
20
21
# File 'lib/twitter_cldr/parsers/unicode_regex/character_class.rb', line 19

def type
  :binary_operator
end