Sha256: ea3e145731815272c9f9394858f4e028b382e2465ce8d5554b6ab755b7a38090
Contents?: true
Size: 488 Bytes
Versions: 70
Compression:
Stored size: 488 Bytes
Contents
# frozen_string_literal: true class Code class Parser class Negation < Language def exclamation_point str("!") end def tilde str("~") end def plus str("+") end def operator exclamation_point | tilde | plus end def negation Negation end def root (operator.aka(:operator) << negation.aka(:right)).aka(:negation) | ChainedCall end end end end
Version data entries
70 entries across 70 versions & 1 rubygems