adding interface to query lvalue/rvalue from a macro.