ParseTreePattern constructor

ParseTreePattern(
  1. ParseTreePatternMatcher matcher,
  2. String pattern,
  3. int patternRuleIndex,
  4. ParseTree patternTree,
)

Construct a new instance of the ParseTreePattern class.

@param matcher The ParseTreePatternMatcher which created this tree pattern. @param pattern The tree pattern in concrete syntax form. @param patternRuleIndex The parser rule which serves as the root of the tree pattern. @param patternTree The tree pattern in ParseTree form.

Implementation

ParseTreePattern(
  this.matcher,
  this.pattern,
  this.patternRuleIndex,
  this.patternTree,
);