Sha256: 95dedaf1b09506189ec6c3f24d09d404c7297e6faa35e326672333413e443195

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

# Copyright 2012 Twitter, Inc
# http://www.apache.org/licenses/LICENSE-2.0

class TwitterCldr.CompositeToken
  constructor : (@tokens) ->
    @type = "composite"

  to_string : ->
    unless @tokens?
      return null
    (token.to_string() for token in @tokens).join("")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twitter_cldr_js-3.3.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/composite_token.coffee
twitter_cldr_js-3.2.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/composite_token.coffee
twitter_cldr_js-3.1.1 lib/twitter_cldr/js/mustache/implementation/tokenizers/composite_token.coffee
twitter_cldr_js-3.1.0 lib/twitter_cldr/js/mustache/implementation/tokenizers/composite_token.coffee