Class/Module Index [+]

Quicksearch

Treetop::Compiler::Metagrammar::Choice2

Public Instance Methods

alternatives() click to toggle source
# File lib/treetop/compiler/metagrammar.rb, line 955
def alternatives
  [head] + tail
end
inline_modules() click to toggle source
# File lib/treetop/compiler/metagrammar.rb, line 963
def inline_modules
  (alternatives.map {|alt| alt.inline_modules }).flatten
end
tail() click to toggle source
# File lib/treetop/compiler/metagrammar.rb, line 959
def tail
  super.elements.map {|elt| elt.alternative}
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.