Sha256: 9f96b660dd0a5ed8a12daf2d258a03c7fcb0c32b01922ff8a0c561484b39fe3f

Contents?: true

Size: 550 Bytes

Versions: 29

Compression:

Stored size: 550 Bytes

Contents

# The existence of this &!#%)(*!&% file makes me want to hurl, but it's the
# simplest way to modify the classes generated by Treetop: the Treetop grammar
# doesn't allow extensions at the grammar level, only the rule level.

require 'fig/grammar/v0'
require 'fig/grammar/v1'
require 'fig/grammar/v2'

module Fig; end
module Fig::Grammar; end

class Fig::Grammar::V0Parser
  def version()
    return 0
  end
end

class Fig::Grammar::V1Parser
  def version()
    return 1
  end
end

class Fig::Grammar::V2Parser
  def version()
    return 2
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fig-1.23.0 lib/fig/grammar_monkey_patches.rb
fig-1.22.1.beta.1 lib/fig/grammar_monkey_patches.rb
fig-1.22.0 lib/fig/grammar_monkey_patches.rb
fig-1.21.1.beta.2 lib/fig/grammar_monkey_patches.rb
fig-1.21.1.beta.1 lib/fig/grammar_monkey_patches.rb
fig-1.21.0 lib/fig/grammar_monkey_patches.rb
fig-1.20.1.beta.1 lib/fig/grammar_monkey_patches.rb
fig-1.20.0 lib/fig/grammar_monkey_patches.rb
fig-1.19.0 lib/fig/grammar_monkey_patches.rb
fig-1.18.0 lib/fig/grammar_monkey_patches.rb
fig-1.17.0 lib/fig/grammar_monkey_patches.rb
fig-1.16.1.beta.1 lib/fig/grammar_monkey_patches.rb
fig-1.16.0 lib/fig/grammar_monkey_patches.rb
fig-1.15.1.beta.2 lib/fig/grammar_monkey_patches.rb
fig-1.15.1.beta.1 lib/fig/grammar_monkey_patches.rb
fig-1.15.0 lib/fig/grammar_monkey_patches.rb
fig-1.14.0 lib/fig/grammar_monkey_patches.rb
fig-1.13.0 lib/fig/grammar_monkey_patches.rb
fig-1.12.0 lib/fig/grammar_monkey_patches.rb
fig-1.11.0 lib/fig/grammar_monkey_patches.rb