Class: JsRegex::Converter::SetConverter

Inherits:
Base
  • Object
show all
Defined in:
lib/js_regex/converter/set_converter.rb

Overview

Template class implementation.

This converter works a little differently from the others.

It buffers anything that it finds within a set in the Context’s #buffered_set_members and #buffered_set_extractions Arrays, returning an empty String for all passed tokens, and only when the set is closed does it compile and return the final String.

Direct Known Subclasses

SubsetConverter

Instance Attribute Summary

Attributes inherited from Base

#context, #target

Method Summary

Methods inherited from Base

#convert, #initialize

Constructor Details

This class inherits a constructor from JsRegex::Converter::Base