Method: CodeMiner::Parser#initialize
- Defined in:
- lib/codeminer/parser.rb
#initialize(src, *args) ⇒ Parser
Returns a new instance of Parser.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/codeminer/parser.rb', line 39 def initialize(src, *args) @src = src @keywords = [] @begin_regex = [] @embexpr = [] @string_begin = [] @string_end = [] @symbol_begin = [] @string_content = [] @parens_begin = [] @qwords = [] @qsymbols = [] @lambda = [] @symbols = [] @words = [] @processors = [] @lbrace = [] @formatters = {} super end |