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
jsduck-5.3.0 lib/jsduck/tag/ptype.rb
jsduck-5.2.0 lib/jsduck/tag/ptype.rb
jsduck-5.1.0 lib/jsduck/tag/ptype.rb
jsduck-5.0.1 lib/jsduck/tag/ptype.rb
jsduck-5.0.0 lib/jsduck/tag/ptype.rb
jsduck-5.0.0.beta5 lib/jsduck/tag/ptype.rb
jsduck-5.0.0.beta4 lib/jsduck/tag/ptype.rb
jsduck-5.0.0.beta3 lib/jsduck/tag/ptype.rb
jsduck-5.0.0.beta2 lib/jsduck/tag/ptype.rb