Module: JsRegex::SecondPass

Defined in:
lib/js_regex/second_pass.rb

Overview

After conversion of a full Regexp::Expression tree, this checks for Node instances that need further processing.

Class Method Summary collapse

Class Method Details

.call(tree) ⇒ Object



10
11
12
13
# File 'lib/js_regex/second_pass.rb', line 10

def call(tree)
  alternate_conditional_permutations(tree)
  tree
end