lib: support member and logical expressions