should actually be "any" type rather than IAccessor, since we are allowing string literals or values