optimize

choose the correct attribute first
support parenthesis on if statement without space

@if(condition) was being detected as function and missing being
categorized as @directive