Every primary expression is also a postfix expression?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Every primary expression is also a postfix expression?

Boon Chew
In Swift Programming Language, under Postfix Expression section, it says: "every primary expression is also a postfix expression."

Why? Clearly things like self, super and closure are primary expressions and not postfix expressions. self can be postfix but its semantic is totally different there.

--
You received this message because you are subscribed to the Google Groups "Swift Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/swift-language/6e33607a-c4ab-4ec3-98d7-1cd70c5b333a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.