Class: TRuby::LegacyParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/t_ruby/parser.rb

Overview

Legacy Parser for backward compatibility (regex-only)

Constant Summary

Constants inherited from Parser

Parser::VALID_TYPES

Instance Attribute Summary

Attributes inherited from Parser

#ir_program, #source, #use_combinator

Instance Method Summary collapse

Methods inherited from Parser

#parse, #parse_to_ir, #parse_type

Constructor Details

#initialize(source) ⇒ LegacyParser



241
242
243
# File 'lib/t_ruby/parser.rb', line 241

def initialize(source)
  super(source, use_combinator: false)
end