From 42d5a6056fb6d4e6a252bba54621636a8ec0d03b Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 24 Aug 2022 22:07:02 +0000 Subject: [PATCH] Update 'Identifiers' --- Identifiers.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Identifiers.md b/Identifiers.md index 8769271..5413d99 100644 --- a/Identifiers.md +++ b/Identifiers.md @@ -1,2 +1,12 @@ In ARF, the member selection operator (.) is not an operator. It instead links -multiple name tokens together to form what is called an identifier. \ No newline at end of file +multiple name tokens together to form what is called an identifier. For example: + +``` +io.println +``` + +...refers to the `println` member of the entity `io`. + +Only name tokens can be used in identifiers. If a member of an object that results from another operation needs to be accessed, that object must first be assigned to a variable. + +ARF does not have separate syntax for accessing a member of a pointer. The dot works either way, like in Go. \ No newline at end of file