diff --git a/doc/pattern.md b/doc/pattern.md index 7a0a814274f..2e05bcf9e12 100644 --- a/doc/pattern.md +++ b/doc/pattern.md @@ -5,6 +5,7 @@ title: Spoon Patterns Spoon patterns enables you to find code elements. A Spoon pattern is based on a one or several AST nodes, which represent the code to match, where some parts of the AST are pattern parameters. When a pattern is matched, one can access to the code matched in each pattern parameter. The unique feature of Spoon pattern matching is that we are matching on AST trees and not source code text. It means that: + * source code formating is ignored. For example: ```java