struct CommentSpec::RegexParser::Rule

Defined in:

comment-spec/regex_parser.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pattern : Regex | LazyRegex, builder : Proc(String, Regex::MatchData, Builder)) #

[View source]

Instance Method Detail

def builder : Proc(String, Regex::MatchData, Builder) #

def builder?(line : String) : Builder | Nil #

[View source]
def clone #

[View source]
def copy_with(pattern _pattern = @pattern, builder _builder = @builder) #

[View source]
def pattern : Regex | LazyRegex #