I have thought about how I could specify an expression separate from a statement.
A fragment of code that resolves to a value.
But void
expressions are still expressions but do not really resolve to a value.
A fragment of code that performs an action.
Includes statements too.
An assignment or function call or literal value or variable.
An ostensibly exhaustive list is a cop-out.
How could I best define an expression separately from a statement?
Note: The top-voted answer here permits such questions.