module RubyNext::Language::BuilderExt

Public Instance Methods

match_pattern(lhs, match_t, rhs) click to toggle source
# File lib/ruby-next/language/parser.rb, line 8
def match_pattern(lhs, match_t, rhs)
  n(:match_pattern, [lhs, rhs],
    binary_op_map(lhs, match_t, rhs))
end
match_pattern_p(lhs, match_t, rhs) click to toggle source
# File lib/ruby-next/language/parser.rb, line 13
def match_pattern_p(lhs, match_t, rhs)
  n(:match_pattern_p, [lhs, rhs],
    binary_op_map(lhs, match_t, rhs))
end