isSynthetic property
Return true
if this node is a synthetic node.
A synthetic node is a node that was introduced by the parser in order to
recover from an error in the code. Synthetic nodes always have a length
of zero (0
).
Implementation
@override
bool get isSynthetic => literal.isSynthetic;