module Treetop::Compiler::Metagrammar::Choice2
Public Instance Methods
Source
# File lib/treetop/compiler/metagrammar.rb, line 1086 def alternatives [head] + tail end
Source
# File lib/treetop/compiler/metagrammar.rb, line 1102 def inline_module nil end
Source
# File lib/treetop/compiler/metagrammar.rb, line 1098 def inline_modules (alternatives.map {|alt| alt.inline_modules }).flatten end
Source
# File lib/treetop/compiler/metagrammar.rb, line 1094 def parent_modules [] end
Source
# File lib/treetop/compiler/metagrammar.rb, line 1090 def tail super.elements.map {|elt| elt.alternative} end
Calls superclass method