Methods

Class Index [+]

Quicksearch

Treetop::Compiler::OneOrMore

Public Instance Methods

compile(address, builder, parent_expression) click to toggle source
    # File lib/treetop/compiler/node_classes/repetition.rb, line 51
51:       def compile(address, builder, parent_expression)
52:         super
53:         builder.if__ "#{accumulator_var}.empty?" do
54:           reset_index
55:           assign_failure start_index_var
56:         end
57:         builder.else_ do
58:           assign_and_extend_result
59:         end
60:         end_comment(parent_expression)
61:       end
max() click to toggle source
    # File lib/treetop/compiler/node_classes/repetition.rb, line 63
63:       def max
64:         nil
65:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.