Change OperatorToken to use lambda functions