Loading lib/jsduck/doc_scanner.rb +0 −14 Original line number Diff line number Diff line Loading @@ -32,12 +32,6 @@ module JsDuck @current_tag[:doc] = "" unless @current_tag.has_key?(:doc) end # Forgets the previously parsed tag def remove_last_tag @tags.pop @current_tag = @tags.last end # matches {type} if possible and sets it on @current_tag # Also checks for {optionality=} in type definition. def maybe_type Loading Loading @@ -87,14 +81,6 @@ module JsDuck end end # matches identifier name if possible and sets it on @current_tag def maybe_name skip_horiz_white if look(@ident_pattern) @current_tag[:name] = match(@ident_pattern) end end # matches ident.chain if possible and sets it on @current_tag def maybe_ident_chain(propname) skip_horiz_white Loading Loading
lib/jsduck/doc_scanner.rb +0 −14 Original line number Diff line number Diff line Loading @@ -32,12 +32,6 @@ module JsDuck @current_tag[:doc] = "" unless @current_tag.has_key?(:doc) end # Forgets the previously parsed tag def remove_last_tag @tags.pop @current_tag = @tags.last end # matches {type} if possible and sets it on @current_tag # Also checks for {optionality=} in type definition. def maybe_type Loading Loading @@ -87,14 +81,6 @@ module JsDuck end end # matches identifier name if possible and sets it on @current_tag def maybe_name skip_horiz_white if look(@ident_pattern) @current_tag[:name] = match(@ident_pattern) end end # matches ident.chain if possible and sets it on @current_tag def maybe_ident_chain(propname) skip_horiz_white Loading