Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/tree-pattern

tree-pattern package​

A fast, lightweight pattern matcher for tree structures such as an Abstract Syntax Tree (AST).

Classes​

Class

Description

TreePattern

A fast, lightweight pattern matcher for tree structures such as an Abstract Syntax Tree (AST).

Type Aliases​

Type Alias

Description

ITreePatternCaptureSet

Provides additional detail about the success or failure of TreePattern.match().

TreeNode

Indicates the tree-like data structure that TreePattern will traverse.