class AbstractSyntaxTreeKit::Node::MATCH2

Attributes

regexp[R]
string[R]

Public Class Methods

new(node:, regexp:, string:) click to toggle source
Calls superclass method AbstractSyntaxTreeKit::Node::new
# File lib/astkit/node/match2.rb, line 6
def initialize(node:, regexp:, string:)
  super(node)
  @regexp = regexp
  @string = string
end