The getFirstToken method is removed

The directive type should be recognized from the regular parsing