Module: Rattler::Parsers::Atomic

Included in:
ESymbol, Eof, Match, Token
Defined in:
lib/rattler/parsers/atomic.rb

Overview

Atomic describes a parser that is not a combination of other parsers.

Instance Method Summary collapse

Instance Method Details

#with_ws(ws) ⇒ Parser



7
8
9
# File 'lib/rattler/parsers/atomic.rb', line 7

def with_ws(ws)
  ws.skip & self
end