class Regex::CompoundExpression

Abstract class. An element that is part of a regular expression & that has its own child sub-expressions.

Public Instance Methods

atomic?() click to toggle source

Redefined method. Return false since it may have one or more children.

# File lib/regex/compound_expression.rb, line 12
def atomic?
  false
end

Protected Instance Methods

all_child_text() click to toggle source

Abstract method. Return the text representation of the child (if any)

# File lib/regex/compound_expression.rb, line 53
def all_child_text
  abstract_method
end