class JsRegex::Converter::AssertionConverter
Template class implementation.
Note the inheritance from GroupConverter
.
Private Instance Methods
convert_data()
click to toggle source
# File lib/js_regex/converter/assertion_converter.rb, line 14 def convert_data case subtype when :lookahead, :nlookahead build_group(head: pass_through, capturing: false) when :nlookbehind warn_of_unsupported_feature('negative lookbehind assertion') else # :lookbehind, ... build_unsupported_group end end