Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Logos::PatternAST::Repetition
Inherits
Logos::PatternAST::Node
<
Reference
<
Object
Repetition (a*, a+, a{n}, a{n,}, a{n,m})
Constructors
new
(child :
Node
, min :
Int32
, max :
Int32
|
Nil
, greedy :
Bool
= true)
Source
Instance methods
child
Source
greedy?
Source
max
Source
min
Source