isExtendedBy

public boolean isExtendedBy(FilteredTag other, int depth)

Same as isExtendedBy, but extension is only check for tokens up to the provided depth + 1.


public boolean isExtendedBy(FilteredTag other)

Return

true if the other tag starts with all of this tag's tokens&has additional tokens at the end, otherwise false.