Method: Treetop::Compiler::NotPredicate#when_success
- Defined in:
- lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/node_classes/predicate.rb
#when_success ⇒ Object
37 38 39 40 41 42 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/node_classes/predicate.rb', line 37 def when_success assign_failure if (e = parent.atomic.expected) builder << "terminal_parse_failure(#{e}, true)" end end |