C# Класс Antlr4.Runtime.Tree.Pattern.ParseTreeMatch

Represents the result of matching a Antlr4.Runtime.Tree.IParseTree against a tree pattern.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Get IParseTree
GetAll IList

Открытые методы

Метод Описание
ParseTreeMatch ( IParseTree tree, ParseTreePattern pattern, IParseTree>.MultiMap labels, IParseTree mismatchedNode ) : System

Constructs a new instance of ParseTreeMatch from the specified parse tree and pattern.

ToString ( ) : string

Приватные методы

Метод Описание
Get ( string label ) : IParseTree
GetAll ( string label ) : IList

Описание методов

ParseTreeMatch() публичный метод

Constructs a new instance of ParseTreeMatch from the specified parse tree and pattern.
/// IllegalArgumentException /// if /// /// is /// /// /// IllegalArgumentException /// if /// /// is /// /// /// IllegalArgumentException /// if /// /// is /// ///
public ParseTreeMatch ( IParseTree tree, ParseTreePattern pattern, IParseTree>.MultiMap labels, IParseTree mismatchedNode ) : System
tree IParseTree The parse tree to match against the pattern.
pattern ParseTreePattern The parse tree pattern.
labels IParseTree>.MultiMap /// A mapping from label names to collections of /// /// objects located by the tree pattern matching process. ///
mismatchedNode IParseTree /// The first node which failed to match the tree /// pattern during the matching process. ///
Результат System

ToString() публичный метод

public ToString ( ) : string
Результат string