Sha256: e3bb5ccab5f7fc4b04702181d0416a9dc56d9c5318f29d2ac936f26288eeb804

Contents?: true

Size: 308 Bytes

Versions: 29

Compression:

Stored size: 308 Bytes

Contents

require "jsduck/tag/xtype"

module JsDuck::Tag
  class Ptype < Xtype
    def initialize
      @pattern = "ptype"
      @repeatable = true
    end

    # @ptype name
    def parse_doc(p, pos)
      {
        :tagname => :aliases,
        :name => parse_alias_shorthand(p, "plugin")
      }
    end

  end
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
solvas-jsduck-6.0.0.30539 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.9571 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.6154 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.4021 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.2554 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.1891 lib/jsduck/tag/ptype.rb
solvas-jsduck-6.0.0.beta.1888 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.10 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.9 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.8 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.7 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.5 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.4 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.3 lib/jsduck/tag/ptype.rb
jsduck-troopjs-0.0.1 lib/jsduck/tag/ptype.rb
jsduck-6.0.0beta lib/jsduck/tag/ptype.rb
jsduck-5.3.4 lib/jsduck/tag/ptype.rb
jsduck-5.3.3 lib/jsduck/tag/ptype.rb
jsduck-5.3.2 lib/jsduck/tag/ptype.rb
jsduck-5.3.1 lib/jsduck/tag/ptype.rb