Method: YARD::Parser::SourceParser.tokenize
- Defined in:
- lib/yard/parser/source_parser.rb
permalink .tokenize(content, ptype = parser_type) ⇒ Array
Tokenizes but does not parse the block of code
125 126 127 |
# File 'lib/yard/parser/source_parser.rb', line 125 def tokenize(content, ptype = parser_type) new(ptype).tokenize(content) end |