Scan dollar and hash signs inside parenthesis
If condition can be an attribute