This class is used as:
Optional
matchers: BaseMatcher[]Check if this specific segment matches, without checking the children
Check if matcher is exhausted (or children)
return the length of the longest branch of the tree
print as a string
Optional
spacer: null | string = nullOptional
level: number = 0
Matcher base implementation