diff --git a/lark/tree_matcher.py b/lark/tree_matcher.py index 38ac87f..b9306c4 100644 --- a/lark/tree_matcher.py +++ b/lark/tree_matcher.py @@ -139,9 +139,9 @@ class TreeMatcher: def match_tree(self, tree, rulename): """Match the elements of `tree` to the symbols of rule `rulename`. - Args: + Parameters: tree (Tree): the tree node to match - rulename ([type]): [description] + rulename (str): The expected full rule name (including template args) Returns: Tree: an unreduced tree that matches `rulename`