# File lib/racc/debugflags.rb, line 33 33: def initialize(parse = false, rule = false, token = false, state = false, 34: la = false, prec = false, conf = false) 35: @parse = parse 36: @rule = rule 37: @token = token 38: @state = state 39: @la = la 40: @prec = prec 41: @any = (parse || rule || token || state || la || prec) 42: @status_logging = conf 43: end
# File lib/racc/debugflags.rb, line 15 15: def DebugFlags.parse_option_string(s) 16: parse = rule = token = state = la = prec = conf = false 17: s.split(//).each do |ch| 18: case ch 19: when 'p' then parse = true 20: when 'r' then rule = true 21: when 't' then token = true 22: when 's' then state = true 23: when 'l' then la = true 24: when 'c' then prec = true 25: when 'o' then conf = true 26: else 27: raise "unknown debug flag char: #{ch.inspect}" 28: end 29: end 30: new(parse, rule, token, state, la, prec, conf) 31: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.