Module: RubyNext::Language::BuilderExt
- Included in:
- Builder
- Defined in:
- lib/ruby-next/language/parser.rb
Instance Method Summary collapse
Instance Method Details
#match_pattern(lhs, match_t, rhs) ⇒ Object
13 14 15 16 |
# File 'lib/ruby-next/language/parser.rb', line 13 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) ⇒ Object
18 19 20 21 |
# File 'lib/ruby-next/language/parser.rb', line 18 def match_pattern_p(lhs, match_t, rhs) n(:match_pattern_p, [lhs, rhs], binary_op_map(lhs, match_t, rhs)) end |