matches identifier and returns its name
43 44 45
# File 'lib/jsduck/doc/scanner.rb', line 43 def ident @input.scan(@ident_pattern) end