class Parslet::Atoms::Repetition

Public Instance Methods

to_hash() click to toggle source
# File lib/parslet-export/atoms/repetition.rb, line 4
def to_hash
  {
    "atom" => "repetition",
    "min" => min,
    "max" => max,
    "parslet" => parslet.to_hash
  }
end