class Acorn::EitherPattern

Defined in:

acorn/either_pattern.cr

Constructors

Instance Method Summary

Instance methods inherited from class Acorn::Pattern

matches : Matches matches, occurrences : Occurrences occurrences, occurs(new_occurs : Occurrences) occurs, to_debug to_debug, union(other : Pattern) union

Class methods inherited from class Acorn::Pattern

parse(expression : String) parse

Constructor Detail

def self.new(left : Pattern, right : Pattern, occurrences : Occurrences = ONCE) #

[View source]

Instance Method Detail

def left : Acorn::Pattern #

[View source]
def right : Acorn::Pattern #

[View source]
def to_debug #
Description copied from class Acorn::Pattern

Why doesn't abstract def work here?


[View source]