The names of the product elements
The name of the type
Check if the input is incomplete.
This can be used in order to check if a newline can be inserted without having to evaluate the expression.