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