Sha256: 2adb24e8ee04daa89ae8d760ac6d1d22abe1b465591b865d3edbfaad65b41527

Contents?: true

Size: 365 Bytes

Versions: 358

Compression:

Stored size: 365 Bytes

Contents

module Treetop
  module Compiler    
    class Nonterminal < AtomicExpression
      def compile(address, builder, parent_expression = nil)
        super
        use_vars :result
        assign_result text_value == 'super' ? 'super' : "_nt_#{text_value}"
        extend_result_with_declared_module
        extend_result_with_inline_module
      end
    end
  end
end

Version data entries

358 entries across 313 versions & 43 rubygems

Version Path
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
logstash-codec-json-2.0.3 vendor/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
swift-pyrite-0.1.1 vendor/bundle/ruby/2.0.0/gems/treetop-1.6.3/lib/treetop/compiler/node_classes/nonterminal.rb
swift-pyrite-0.1.0 vendor/bundle/ruby/2.0.0/gems/treetop-1.6.3/lib/treetop/compiler/node_classes/nonterminal.rb
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/treetop-1.4.15/lib/treetop/compiler/node_classes/nonterminal.rb
classiccms-0.7.5 vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/nonterminal.rb
classiccms-0.7.4 vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/nonterminal.rb
classiccms-0.7.3 vendor/bundle/gems/treetop-1.4.10/lib/treetop/compiler/node_classes/nonterminal.rb
treetop-1.6.3 lib/treetop/compiler/node_classes/nonterminal.rb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/nonterminal.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/treetop-1.4.12/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.1 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.10 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.13 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.16 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.2 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb
cloudhead-less-1.0.3 lib/vendor/treetop/lib/treetop/compiler/node_classes/nonterminal.rb