class JsDuck::Tag::Ptype

Public Class Methods

new() click to toggle source
# File lib/jsduck/tag/ptype.rb, line 5
def initialize
  @pattern = "ptype"
  @repeatable = true
end

Public Instance Methods

parse_doc(p, pos) click to toggle source

@ptype name

# File lib/jsduck/tag/ptype.rb, line 11
def parse_doc(p, pos)
  {
    :tagname => :aliases,
    :name => parse_alias_shorthand(p, "plugin")
  }
end