Class: Regex::Concatenation

Inherits:
PolyadicExpression show all
Defined in:
lib/regex/concatenation.rb

Overview

Abstract class. A n-ary matching operator. It succeeds when each child succeeds to match the subject text in the same serial arrangement than defined by this concatenation.

Instance Attribute Summary

Attributes inherited from PolyadicExpression

#children

Attributes inherited from Expression

#begin_anchor, #end_anchor

Instance Method Summary collapse

Methods inherited from PolyadicExpression

#<<, #df_visitor, #done!, #lazy!

Methods inherited from CompoundExpression

#atomic?

Methods inherited from Expression

#atomic?, #options, #to_str

Constructor Details

#initialize(*theChildren) ⇒ Concatenation

Constructor.



11
12
13
# File 'lib/regex/concatenation.rb', line 11

def initialize(*theChildren)
  super(theChildren)
end