Method: RDoc::Parser::Ruby#parse_symbol_arg

Defined in:
lib/rdoc/parser/ruby.rb

#parse_symbol_arg(no = nil) ⇒ Object

Parse up to no symbol arguments



1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
# File 'lib/rdoc/parser/ruby.rb', line 1926

def parse_symbol_arg(no = nil)
  skip_tkspace_comment

  tk = get_tk
  if tk[:kind] == :on_lparen
    parse_symbol_arg_paren no
  else
    parse_symbol_arg_space no, tk
  end
end