class Regexp::Expression::SequenceOperation

abstract class

Public Instance Methods

<<(exp) click to toggle source
# File lib/regexp_parser/expression/sequence_operation.rb, line 13
def <<(exp)
  expressions.last << exp
end
add_sequence(active_opts = {}) click to toggle source
# File lib/regexp_parser/expression/sequence_operation.rb, line 17
def add_sequence(active_opts = {})
  self.class::OPERAND.add_to(self, {}, active_opts)
end
starts_at() click to toggle source
# File lib/regexp_parser/expression/sequence_operation.rb, line 8
def starts_at
  expressions.first.starts_at
end
Also aliased as: ts
to_s(format = :full) click to toggle source
# File lib/regexp_parser/expression/sequence_operation.rb, line 21
def to_s(format = :full)
  sequences.map { |e| e.to_s(format) }.join(text)
end
ts()
Alias for: starts_at