Sha256: 791e0c490d19457f24f922ac6d167df62e6ed1a0be71bac7fd5361ffe2f5f354
Contents?: true
Size: 403 Bytes
Versions: 33
Compression:
Stored size: 403 Bytes
Contents
# frozen_string_literal: true class Code class Parser class Code < Language def whitespace Whitespace end def whitespace? whitespace.maybe end def statement Statement end def present (whitespace? << statement << whitespace?).repeat(1) end def root present | whitespace? end end end end
Version data entries
33 entries across 33 versions & 1 rubygems