class Aoc::Day19::CompoundRule

Defined in:

day/19.cr

Constructors

Instance Method Summary

Instance methods inherited from class Aoc::Day19::Rule

find_match(line : String, rules : Hash(Int32, Rule)) : String | Nil find_match

Class methods inherited from class Aoc::Day19::Rule

parse(line) parse

Constructor Detail

def self.new(sub_rule_sets : Array(Array(Int32))) #

[View source]

Instance Method Detail

def find_match(line, rules) : String | Nil #

[View source]
def find_sub_match(sub_rule_ids, line, rules) #

[View source]