5.6.14 Dictionary Access Expressions
A dictionary access expression is an alternate way to invoke an object’s default member with a String parameter.
-
dictionary-access-expression = l-expression NO-WS "!" NO-WS unrestricted-name dictionary-access-expression =/ l-expression line-continuation "!" NO-WS unrestricted-name dictionary-access-expression =/ l-expression line-continuation "!" line-continuation unrestricted-name
Static semantics. A dictionary access expression is invalid if the declared type of <l-expression> is a type other than a specific class, Object or Variant.
A dictionary access expression is syntactically translated into an index expression with the same expression for <l-expression> and an argument list with a single positional argument with a declared type of String and a value equal to the name value of <unrestricted-name>.