Antlr4.Runtime.Tree.Pattern.ParseTreePattern.ParseTreePattern C# (CSharp) Method

ParseTreePattern() public method

Construct a new instance of the ParseTreePattern class.
public ParseTreePattern ( ParseTreePatternMatcher matcher, string pattern, int patternRuleIndex, IParseTree patternTree ) : System.Collections.Generic
matcher ParseTreePatternMatcher /// The /// /// which created this /// tree pattern. ///
pattern string The tree pattern in concrete syntax form.
patternRuleIndex int /// The parser rule which serves as the root of the /// tree pattern. ///
patternTree IParseTree /// The tree pattern in /// /// form. ///
return System.Collections.Generic
        public ParseTreePattern(ParseTreePatternMatcher matcher, string pattern, int patternRuleIndex, IParseTree patternTree)
        {
            this.matcher = matcher;
            this.patternRuleIndex = patternRuleIndex;
            this.pattern = pattern;
            this.patternTree = patternTree;
        }