Loading lib/jsduck/doc/parser.rb +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ module JsDuck elsif tag = TagRegistry.get_by_pattern(name) match(/\w+/) tags = tag.parse(self) tags = tag.parse_doc(self) if tags.is_a?(Hash) add_tag(tags) elsif tags.is_a?(Array) Loading lib/jsduck/tag/alias.rb +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ module JsDuck::Tag # For backwards compatibility decide whether the @alias was used # as @inheritdoc (@alias used to have the meaning of @inheritdoc # before) or as a real Ext4 style alias definition. def parse(p) def parse_doc(p) if p.look(/\s+([\w.]+)?#\w+/) parse_as_inheritdoc(p) else Loading lib/jsduck/tag/aside.rb +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ module JsDuck::Tag @html_position = :top end def parse(p) def parse_doc(p) { :tagname => :aside, :type => aside_type(p), Loading lib/jsduck/tag/author.rb +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ module JsDuck::Tag # @author Name of Author <email@example.com> ... # Everything until the end of line gets just ignored. def parse(p) def parse_doc(p) p.match(/.*$/) end end Loading lib/jsduck/tag/boolean_tag.rb +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ module JsDuck::Tag end # Parses just the name of the tag. def parse(p) def parse_doc(p) {:tagname => @key} end Loading Loading
lib/jsduck/doc/parser.rb +1 −1 Original line number Diff line number Diff line Loading @@ -85,7 +85,7 @@ module JsDuck elsif tag = TagRegistry.get_by_pattern(name) match(/\w+/) tags = tag.parse(self) tags = tag.parse_doc(self) if tags.is_a?(Hash) add_tag(tags) elsif tags.is_a?(Array) Loading
lib/jsduck/tag/alias.rb +1 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ module JsDuck::Tag # For backwards compatibility decide whether the @alias was used # as @inheritdoc (@alias used to have the meaning of @inheritdoc # before) or as a real Ext4 style alias definition. def parse(p) def parse_doc(p) if p.look(/\s+([\w.]+)?#\w+/) parse_as_inheritdoc(p) else Loading
lib/jsduck/tag/aside.rb +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ module JsDuck::Tag @html_position = :top end def parse(p) def parse_doc(p) { :tagname => :aside, :type => aside_type(p), Loading
lib/jsduck/tag/author.rb +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ module JsDuck::Tag # @author Name of Author <email@example.com> ... # Everything until the end of line gets just ignored. def parse(p) def parse_doc(p) p.match(/.*$/) end end Loading
lib/jsduck/tag/boolean_tag.rb +1 −1 Original line number Diff line number Diff line Loading @@ -12,7 +12,7 @@ module JsDuck::Tag end # Parses just the name of the tag. def parse(p) def parse_doc(p) {:tagname => @key} end Loading