Only iterate Lexer heredoc arrays
The last element in the @buf may be either an array or an Elem. In the case it is an Elem we iterate over every element, when we do not need to. This check guards that case by ensuring that we only iterate over an array of elements.
@buf
Elem
Only iterate Lexer heredoc arrays
The last element in the
@bufmay be either an array or anElem. In the case it is anElemwe iterate over every element, when we do not need to. This check guards that case by ensuring that we only iterate over an array of elements.