Sha256: 7ac46a1e63290f880ad0e5fcb5de3ce2d6a0dd5f5e998cbadbb9dfec287830ef
Contents?: true
Size: 403 Bytes
Versions: 12
Compression:
Stored size: 403 Bytes
Contents
class Code class Parser class Negation < ::Code::Parser def parse if operator = match([EXCLAMATION_POINT, TILDE, PLUS]) { negation: { operator: operator, statement: parse_subclass(::Code::Parser::Negation) } } else parse_subclass(::Code::Parser::Splat) end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems