vendor/bundle/gems/treetop-1.4.15/lib/treetop/compiler/grammar_compiler.rb
# compile a string containing treetop source into ruby
compile a string containing treetop source into ruby
compile a string containing treetop source into ruby
def ruby_source_from_string(s)
        parser = MetagrammarParser.new
        result = parser.parse(s)
        unless result
          raise RuntimeError.new(parser.failure_reason)
        end
        result.compile
      end
def ruby_source_from_string ( s ) parser = MetagrammarParser . new result = parser . parse ( s ) unless result raise RuntimeError . new ( parser . failure_reason ) end result . compile end
compile a string containing treetop source into ruby
compile a string containing treetop source into ruby
s