Fix: no-unused-expressions directive support (fixes #1185)

Fixes #1185. Related: #1186.
`ASTNode[]`