StaticnewCreates a new LeafStructurePattern.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
Pattern for matching leaf envelopes (terminal nodes in the envelope tree).
Corresponds to the Rust
LeafStructurePatternstruct in leaf_structure_pattern.rs