Complex Identifiers
A complex identifier can have either of the following forms:
<simple-identifier>.<simple-identifier>[.<simple-identifier>]*
<function-invocation>.<simple-identifier>[.<simple-identifier>]*
See Simple Identifiers for information on simple identifiers. See Function Invocations for information on function invocations.
The function invocation or simple identifier to the left of the dot must be object valued.
A complex identifier can also have either of the following forms:
<simple-identifier>[string-literal]
<simple-identifier>[numerical-literal]
Note that the square brackets in the two lines above do not indicate optionality—they are not used as meta-characters, here; square brackets characters occur as part of these types of complex identifiers.
See Numerical Literals for information on numerical literals. See String Literals for information on string literals.
In these cases, the simple identifier to the left of the dot must be map valued. See also Map Functions.
Examples
part.totalCost
myFunction(5).id
myMap[3]
myMap[‘blue’]