Class: TwitterCldr::Parsers::UnicodeRegexParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/twitter_cldr/parsers/unicode_regex_parser.rb,
lib/twitter_cldr/parsers/unicode_regex/literal.rb,
lib/twitter_cldr/parsers/unicode_regex/component.rb,
lib/twitter_cldr/parsers/unicode_regex/character_set.rb,
lib/twitter_cldr/parsers/unicode_regex/unicode_string.rb,
lib/twitter_cldr/parsers/unicode_regex/character_class.rb,
lib/twitter_cldr/parsers/unicode_regex/character_range.rb

Defined Under Namespace

Classes: CharacterClass, CharacterRange, CharacterSet, Component, Literal, UnicodeString

Instance Method Summary collapse

Methods inherited from Parser

#eof?, #reset

Instance Method Details

#parse(tokens, options = {}) ⇒ Object



20
21
22
23
24
25
26
# File 'lib/twitter_cldr/parsers/unicode_regex_parser.rb', line 20

def parse(tokens, options = {})
  super(
    preprocess(
      substitute_variables(tokens, options[:symbol_table])
    ), options
  )
end